@akh-test/junk
v0.0.7
Published
This is a repository that supports a blog post at <https://developers.deepgram.com/blog/2021/12/build-npm-packages/>.
Downloads
9
Readme
Boilerplate NPM Package
This is a repository that supports a blog post at https://developers.deepgram.com/blog/2021/12/build-npm-packages/.
The npx branch supports the follow-up post at https://developers.deepgram.com/blog/2022/01/npx-script/.
This package is published and can be used by installing it:
npm install @phazonoverload/first-package
Usage
const OpenMovieDatabase = require('./index')
const omdb = new OpenMovieDatabase('YOUR_OPEN_MOVIE_DATABASE_API_KEY')
omdb.get({ t: 'Inside Out' }).then(results => {
console.log({ results })
})
.catch(error => {
console.log({ error })
})