node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



simple NPM to search youtube video, tested in React and Vue

How to install

npm install --save achim-youtube-search

How to use

Tested in React and VueJS

var achimYoutubeSearch = require("achim-youtube-search")

const API_KEY = 'AIzaSyAOQu0HKYfp8i87F4C_T7f30eUpE2itpzT8c'

var searchKeyword = 'doraemon'

achimYoutubeSearch({key: API_KEY, search: searchKeyword}, (data) => {

console.log('fetch result ', data)