Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aspecto/core

Package Overview
Dependencies
Maintainers
3
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aspecto/core

Aspecto metric collector

  • 1.1.22
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20
decreased by-72.22%
Maintainers
3
Weekly downloads
 
Created
Source

Aspecto

Your API is critical for your success and we wat to help you protect it:

How it works

  • Install this package - it will report to our servers
  • Install our VSCode extension

This package and the extension will comminucate and if you are about to make a breaking change we will notify you with VSCode

For more details check out our website

Start using

Install
npm install @aspecto/core
Usage
const aspecto = require('@aspecto/core').init();
  • In the root folder create a aspecto.json file with {"token" : "-- token goes here --"}
  • You can get your token from here
Usage in CLI

@aspecto/core uses websockets to send the data it collects.
An open websocket connection will keep the node.js process running which may not be desired in CLI apps.
In order to close the WS connection that @aspecto/core opens, call a callback that is being returned by init function, like so:

const aspecto = require('@aspecto/core').init();

// your app's code

aspecto.close();

FAQs

Package last updated on 26 Mar 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc