Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
famous-dist-generator
Advanced tools
Build various dist versions of famous/famous. RequireJS, CommonJS, or standalone window.famous object
This module allows you to convert Famo.us to the various ways it is consumed in production. It is generic enough that it should be able to work for any project that is architected in a similar
var distGenerator = require('famous-dist-generator');
var path = require('path');
var src = path.join(path-to-famous, 'src');
var dest = path.join(process.cwd(), 'famous.js');
distGenerator.standalone(src, dest, function (err) {
if (err) { return console.error(new Error(err)); }
//do something
});
var minify = true;
distGenerator.standalone(src, dest, minify, function (err) {
if (err) { return console.error(new Error(err)); }
//do something
});
Build a single JavaScript file that supports AMD, commonJS, and a global object version of famous
$ famous-dist-generator path-to-src path-to-output/famous-global.js
Build a single JavaScript file utilizing the AMD api supported by RequireJS
$ famous-dist-generator path-to-src path-to-output/famous.js --amd
Convert the entire src directory from AMD to common (output is a folder that is ready to publish to npm)
$ famous-dist-generator path-to-src path-to-output/ --common
Copy famous.css from the src folder to your output folder
$ famous-dist-generator path-to-src path-to-output --css
FAQs
Build various dist versions of famous/famous. RequireJS, CommonJS, or standalone window.famous object
The npm package famous-dist-generator receives a total of 4 weekly downloads. As such, famous-dist-generator popularity was classified as not popular.
We found that famous-dist-generator 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.