
Security News
Insecure Agents Podcast: Certified Patches, Supply Chain Security, and AI Agents
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.
dyson-generators
Advanced tools
Fake data generators, used by dyson and dyson-image.
Install dyson-generators locally by including it in package.json as a devDependency:
"devDependencies": {
"dyson-generators": "~0.1"
}
var g = require('dyson-generators');
g.id() // 1 (consecutive calls return 2, 3, 4, ..)
g.random(20) // 13
g.name() // 'John', 'Olivia`
g.address.city() // 'Mexico City', 'Beijing'
g.address.zipUS() // '53142', '71238'
g.address.zipNL() // '4715 FW', '7551 VT'
g.time.byQuarter() // '14:45', '9:00'
The g.image.base64() method is a proxy to http://dummyimage.com by default:
// Returns 'data:image/png;base64,iVBORw0KGgoAAAANSUh...'
g.image.base64({width:200, height: 200});
// See http://dummyimage.com for documentation
g.image.base64({path:'/200x300&text=dummyimage.com+rocks!'});
// Return base64 image string from a custom image service
g.image.base64({
host: 'http://lorempixel.com',
path: '/150/150/abstract/' + g.random(10)
});
FAQs
Fake data generators for dyson
We found that dyson-generators demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.

Security News
The planned feature introduces a review step before releases go live, following the Shai-Hulud attacks and a rocky migration off classic tokens that disrupted maintainer workflows.