0.2.0 • Published 8 years ago

not-impressed v0.2.0

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

Not Impressed

Build Status Coverage Status npm version Packagist

A generalized multi-stage build scanner written in nodejs

Provides a simple structure for discovering, building, scanning, and parsing the various groupings of build systems with tools that analyze them.

dependencies

optional dependencies

Any.

Some dependencies that have been used with success.

installation

npm install -g not-impressed

or as a dependency in your package.json

configuration

Create a configuration object that describes how to build and/or scan things.

When using a globally installed ni, this takes the form of a a .ni.json file in root path of your project. (see examples for more useful configurations)

{
    "Report": "Your Report Name",
    "output": "results.json"
}

When requiring this module in your own project, specify at least one target.

{
    "Report": "Your Report Name",
    "targets": [
        {"/some/interesting/build": "" }
    ]
}

configuration examples

usage

on a command shell

cd <your repository with a .ni.json file>
ni

Results are generated in JSON format based on .ni.json configuration.

To include not-impressed in your Travis build, add the following to .travis.yml.

before_script:
  - npm install -g not-impressed
script:
 - ni

Here is an example of including not-impressed in your node application directly.

var ni = require('not-impressed'),
	util = require('util');


var conf = {
    "Report": "Your Report Name",
    "targets": [
        {"..": "" }
    ],
    ...
}

ni.run(conf, function(output){
	console.log(util.inspect(output, true, null));
});

You can also leverage a webservice docker container (for play only!) at not-impressed-docker

testing

Mochajs needs to be installed

npm install -g mocha

running tests

mocha test
0.2.0

8 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago