@dsatizabal/first-package

0.0.5 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @dsatizabal/first-package

Weekly Downloads

0

Version

0.0.5

License

none

Unpacked Size

1.75 kB

Total Files

4

Last publish

Collaborators

  • dsatizabal