Home

Awesome

npm download size

API for npm download size.

Usage

npm i arve0/npm-download-size-api
const express = require('express')
const app = express()
const api = require('npm-download-size-api')

app.use('/api', api)

app.listen(process.env.PORT || 3000)
curl localhost:3000/api/package

License

MIT