Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var parse = require('spdx-expression-parse');
var equal = require('deep-equal');
require('spdx-license-ids').forEach(function (id) {
equal(parse(id), {license: id})
});
var correct = require('spdx-correct');
correct('mit');
var valid = require('validate-npm-package-license');
var PJV=require('package-json-validator').PJV;
PJV.validate(data, spec, options);
var pj = "./package.json";
// Takes the JavaScript object and writes it to the package.json file.
var packagejsonTransform = function(next) {
var fs = require("fs-extra");