Registry / security / nsp-formatter-remarkup

nsp-formatter-remarkup

JSON →
library1.0.3jsnpmunverified

A summary-style formatter for Node Security Project (nsp) that outputs results using Remarkup table syntax, designed for use with Phabricator. Version 1.0.3 is the latest stable release, published in 2016. This package is a niche plugin for nsp (now deprecated), providing a specific output format. No longer developed as nsp has been superseded by @npmcli/arborist and npm audit.

npm install nsp-formatter-remarkup
INSTALL
IMPORT
SIG · NSP-FORMATTER-REMA
N
nsp-formatter-remarkup
securityjavascriptv1.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

formatter
const formatter = require('nsp-formatter-remarkup');
import formatter from 'nsp-formatter-remarkup';
This package is CJS-only and does not support ESM imports. Use require().

This shows how to use nsp-formatter-remarkup with the nsp package to check vulnerabilities and format output in Remarkup table syntax.

const nsp = require('nsp'); const formatter = require('nsp-formatter-remarkup'); nsp.check({ package: './package.json' }, (err, result) => { if (err) { console.error(err); process.exit(1); } const output = formatter(result); console.log(output); });
Debug
Known issues
deprecatedThe Node Security Project (nsp) is deprecated in favor of npm audit. This formatter is no longer maintained.
fix
Use npm audit with a custom formatter or switch to @npmcli/arborist.
affects: >=0.0.0
gotchaThe package does not support ES modules (ESM); only CommonJS require() works.
fix
Use const formatter = require('nsp-formatter-remarkup');
affects: >=0.0.0
deprecatedThe clite dependency is no longer maintained and may have security issues.
fix
Avoid using this package; use an up-to-date alternative.
affects: >=1.0.0
Errors
Common errors & fixes
Cannot find module 'nsp-formatter-remarkup'
The package is not installed in the project.
fix
npm install nsp-formatter-remarkup
require() of ES modules is not supported
Attempting to use ESM import syntax with this CJS-only package.
fix
Use require() instead of import.
Upgrade
Version history
1.0.3latest on npm
Audit
Dependencies
chalkrequiredused for terminal styling
cliterequiredcommand-line interface framework
pretty-msrequiredformatting milliseconds
text-tablerequiredgenerating text tables
Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources