Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 874 Bytes

README.md

File metadata and controls

49 lines (35 loc) · 874 Bytes

Latest Stalker (Module)

Check which dependencies in your package are using the latest version.

Checkout the demo and the api.

Usage

npm install latest-stalker

Async/Await

import stalker from 'latest-stalker'

(async() => {
  try {
    console.log(await stalker('./package.json'))
  } catch (er) { console.log(er.stack) }
})()

Promise

const stalker = require('latest-stalker')

stalker('./package.json').then(json =>
  console.log(json)
).catch(er =>
  console.log(er.stack)
)

Contribute

To contribute fork this project, make your changes, and submit a pull request.

Development

git clone https://github.com/thenengah/latest-stalker-module.git
cd latest-stalker-module
npm intall
npm run build
npm test