Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
#genmo Generate intances of a jsonschema with fake data, good for mocking data
###Usage var genmo = require('genmo') var schema = { type: 'object', properties: { string: { type: 'string' }, number: { type: 'number' }, integer: { type: 'integer' }, boolean: { type: 'boolean' }, date: { type: 'date' }, arrayString: { type: 'array', items: { type: 'string' } }, arrayNumber: { type: 'array', items: { type: 'number' } }, arrayDate: { type: 'array', items: { type: 'date' } }, arrayObject: { type: 'array', items: { type: 'object', properties: { string: { type: 'string' } } } }, nestedObject: { type: 'object', properties: { number: { type: 'number' } } } } } genmo(schema)
/* output
{
string: 'Commodo est consectetur irure eiusmod fugiat nostrud.',
number: 49.28502864204347,
integer: 17,
boolean: true,
date: Tue Nov 10 2015 21:22:38 GMT-0700 (MST),
arrayString: [
'Sit pariatur ipsum excepteur ex fugiat cupidatat.'
],
arrayNumber: [
79.39803048502654
],
arrayDate: [
Tue Nov 10 2015 21:22:38 GMT-0700 (MST)
],
arrayObject: [
{
string: 'Eu ullamco et incididunt deserunt pariatur elit sit amet.'
}
],
nestedObject:
{
number: 60.45338651165366
}
}
*/
FAQs
Generates models based off of json-schemas
We found that genmo 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.