0.0.4 • Published 7 months ago

@zadolo/first-package v0.0.4

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

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 })
})
0.0.4

7 months ago