Socket
Socket
Sign inDemoInstall

@scarf/scarf

Package Overview
Dependencies
0
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @scarf/scarf

Scarf is like Google Analytics for your npm packages. Gain insights into how your packages are installed and used, and by which companies.


Version published
Weekly downloads
330K
decreased by-8.83%
Maintainers
1
Install size
7.31 kB
Created
Weekly downloads
 

Readme

Source

scarf-js

Scarf is like Google Analytics for your npm packages. By sending some basic details after installation, this package can help you can gain insights into how your packages are installed and by which companies. Scarf aims to help support open-source developers fund their work when used commercially.

Installing

You'll first need to create a library entry on Scarf. Once created, add a dependency on this library to your own:

npm i --save @scarf/scarf

Once your library is published to npm with this change, Scarf will automatically collect stats on install, no additional code is required!

Head to your package's dashboard on Scarf to see your reports when available.

What information does Scarf provide me as a package author?

  • Basic system information of your users
  • Company information of your users
  • Dependency tree information of packages that depend on your library

As a user of a package using Scarf, what information does Scarf send about me?

  • The operating system you are using
  • The version of the package you're installing that depends on Scarf
  • Your IP address will be used to look up any available company information. The IP address itself will be subsequently deleted

Future work

Future releases of scarf-js will provide a module of utility functions to collect usage analytics in addition to the current installation analytics.

FAQs

Last updated on 30 Dec 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc