@aspecto/core
TypeScript icon, indicating that this package has built-in type declarations

1.1.22 • Public • Published

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();

Readme

Keywords

none

Package Sidebar

Install

npm i @aspecto/core

Weekly Downloads

50

Version

1.1.22

License

ISC

Unpacked Size

90.3 kB

Total Files

82

Last publish

Collaborators

  • habmic
  • amir.aspecto
  • aspecto-release-bot
  • andriy-aspecto
  • yanivd