Martín "Netux" Rodriguez
As a postinstall
script.
npm install netux
# => {"name":{"first":"Martín","last":"Rodriguez"},...}
As a JSON object.
console.log(require('netux')); // => {"name":{"first":"Martín","last":"Rodriguez"},...}
With TypeScript support.
import * as netux from 'netux';
const personName = netux.name; // of type { first: string; last: string }
console.log(`${ personName.first } ${ personName.last }`); // => "Martín Rodriguez"
@johnkpaul, @bevacqua and @joshhunt
MIT