1.3.10 • Published 3 years ago

spectralops v1.3.10

Weekly downloads
19
License
MIT
Repository
github
Last release
3 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

3 years ago

1.3.9

3 years ago

1.3.8

3 years ago

1.3.7

3 years ago

1.3.6

3 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.80.0

4 years ago

1.77.3

4 years ago