
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Load data from globs or files or directly from objects.
Install with npm
$ npm i plasma --save
Create an instance of Plasma
, optionally passing an object of data
to initialize with.
Params
data
{Object}Example
var Plasma = require('plasma');
var plasma = new Plasma();
// load some data
plasma.load(['*.json', 'data/*.yml']);
plasma.load({a: 'b', c: 'd'});
Register a data loader for reading data. (Note that as of 0.9.0, plasma no longer reads YAML files by default).
Params
ext
{String}: The file extension to match to the loader.fn
{Function}: The loader function.Example
var fs = require('fs');
var yaml = require('js-yaml');
plasma.dataLoader('yml', function(fp) {
var str = fs.readFileSync(fp, 'utf8');
return yaml.safeLoad(str);
});
plasma.load('foo.yml');
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Install dev dependencies:
$ npm i -d && npm test
Jon Schlinkert
Copyright © 2014-2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on June 01, 2015.
FAQs
Load data from globs or files or directly from objects.
The npm package plasma receives a total of 868 weekly downloads. As such, plasma popularity was classified as not popular.
We found that plasma demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.