@phasersec/phaser

1.1.3 • Public • Published

Phaser

Phaser  logo

This repo contains the NPM Package to install the cross-platform Phaser CLI and use it in a Javascript Project.

Table of Contents

Installation

Globally

npm install -g @phasersec/phaser

For more information on global usage see Phaser CLI.

Locally

npm install --save @phasersec/phaser

Usage

Setup Configuration

Edit .phaser.toml in your root project directory

project_token = "<YOUR_PROJECT_TOKEN>"

(other configuration parameters can be found here - Phaser CLI).

Automated

Only works with NodeJS, see Add As A Test for browser or react native projects.

Then simply

require('@phasersec/phaser');
// or
import '@phasersec/phaser';

It will check your project dependencies' at each process launch, useful to monitor an application in production.

You can find found vulnerabilities on you dashboard. You will be notified if a new vulnerability is found in your dependencies.

Add As A Test

You can also directly use the command-line tool to integrate Phaser in your development workflow.

It will exit with 1 (and so fail fail your tests) if vulnerable dependencies are found.

Add the following content to your test script in your package.json file.

phaser dependencies check

More information

Package Sidebar

Install

npm i @phasersec/phaser

Weekly Downloads

0

Version

1.1.3

License

ISC

Last publish

Collaborators

  • z0mbie42