https://github.com/rajikaimal/ferreter
:telescope: Collect anonymous usage for NPM package usage
https://github.com/rajikaimal/ferreter
javascript nodejs statistics
Last synced: about 2 months ago
JSON representation
:telescope: Collect anonymous usage for NPM package usage
- Host: GitHub
- URL: https://github.com/rajikaimal/ferreter
- Owner: rajikaimal
- License: mit
- Created: 2016-07-19T14:47:26.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-06-10T11:30:12.000Z (about 8 years ago)
- Last Synced: 2026-03-20T00:57:02.360Z (3 months ago)
- Topics: javascript, nodejs, statistics
- Language: JavaScript
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ferreter [](https://travis-ci.org/rajikaimal/ferreter)
Collect anonymous usage for NPM package usage
## Install
```
yarn add ferreter --save-dev
```
## Usage
```js
const ferreter = require('ferreter');
ferreter('http://google.com', {'key': 'value'})
.then((res) => {
console.log('Done', res);
})
.catch((err) => {
console.log('Something happened', err);
});
```
## API
### ferreter(url, data)
Returns a promise
#### url
Type: `string`
URL to post usage statistics
#### data
Type: `object`
Custom object containing statistics
## License
MIT © [Rajika Imal](https://rajikaimal.github.io)