1.3.10 • Published 4 years ago

spectralops v1.3.10

Weekly downloads
19
License
MIT
Repository
github
Last release
4 years ago

Build Status

Spectral (Node)

This is an easy Node wrapper for Spectral Get started:

$ npm i -g spectralops

or

$ yarn add --dev spectralops

To perform a scan using spectral as a node binary (make sure you have a DSN in your environment):

$ yarn spectral run

To perform a scan programmatically, use as a library:

const path = require('path')
const { spectral } = require('..')

const main = async () => {
  const res = await spectral({
    dsn: 'https://spk-xxx@get.spectralops.io',
    noSend: true,
    scanPath: path.join(__dirname, '../lib'),
  })
  console.log('res', res)
}

main()

See more at the Spectral Website

1.3.10

4 years ago

1.3.9

4 years ago

1.3.8

4 years ago

1.3.7

4 years ago

1.3.6

4 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.80.0

5 years ago

1.77.3

5 years ago