An open API service indexing awesome lists of open source software.

https://github.com/heineiuo/npm-read

Read a file inside any npm package like `/lib/index.js` in https://registry.npmjs.org/@babel/core.
https://github.com/heineiuo/npm-read

cdn jsdelivr nodejs npm unpkg

Last synced: 7 months ago
JSON representation

Read a file inside any npm package like `/lib/index.js` in https://registry.npmjs.org/@babel/core.

Awesome Lists containing this project

README

          

# npm-read

## API

#### readFile

```js
import { readFile } from 'npm-read'
```

#### downloadFile

```js
import { downloadFile } from 'npm-read'
```

## License

[MIT License](LICENSE)