{"_id":"@bndynet/dator","_rev":"3-759010e61f913add0ab02d145f856e32","name":"@bndynet/dator","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@bndynet/dator","version":"1.0.0","author":{"name":"Bendy Zhang","email":"zb@bndy.net"},"license":"MIT","_id":"@bndynet/dator@1.0.0","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"homepage":"https://github.com/bndynet/dator.js#readme","bugs":{"url":"https://github.com/bndynet/dator.js/issues"},"dist":{"shasum":"80ed2b058e4d2b3dcb0c084555fcaad11ec0d4b7","tarball":"https://registry.npmjs.org/@bndynet/dator/-/dator-1.0.0.tgz","fileCount":21,"integrity":"sha512-yaDNP2yLjGAM2baLDo3Y/JR/52D7nX0zqpE0rUwk/pedRQv40hw6u5cMB2odp98VBvSimzba6R6dHWfFp8GNvA==","signatures":[{"sig":"MEQCIFsYxJBjeTNpD48y2z8N/6FiF9lZuS2CeV5iNKhfbRlYAiB06jozrdN/z7MKEd2ZuKEfsm9D4CYgSd13lMQQa4sOVA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3961973},"main":"dist/index.js","types":"dist/types/index.d.ts","gitHead":"bcbd1f55d020ed9dafc9035218a3f3a3b93a3ddb","scripts":{"test":"jest","build":"rollup -c ./rollup.config.js --bundleConfigAsCjs","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"bndy","email":"zb@bndy.net"},"repository":{"url":"git+https://github.com/bndynet/dator.js.git","type":"git"},"_npmVersion":"10.7.0","description":"A data generator","directories":{},"_nodeVersion":"20.15.1","dependencies":{"@faker-js/faker":"^8.4.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.3","rimraf":"^6.0.1","rollup":"^4.19.1","ts-jest":"^29.2.3","typescript":"^5.5.4","@types/jest":"^29.5.12","semantic-release":"^24.0.0","@semantic-release/git":"^10.0.1","@semantic-release/exec":"^6.0.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/dator_1.0.0_1722324086423_0.6687757948659654","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@bndynet/dator","version":"1.0.1","author":{"name":"Bendy Zhang","email":"zb@bndy.net"},"license":"MIT","_id":"@bndynet/dator@1.0.1","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"homepage":"https://github.com/bndynet/dator.js#readme","bugs":{"url":"https://github.com/bndynet/dator.js/issues"},"dist":{"shasum":"3de485714835997d2838ab7f36b4ad61b654d7bc","tarball":"https://registry.npmjs.org/@bndynet/dator/-/dator-1.0.1.tgz","fileCount":21,"integrity":"sha512-ecNDp+4shKbXbWmKr47NmdRSEhth2zFgx/UoBnjIL1XTIAvLTV9kyK6DAh37hhSQXx5xu8cHUxzSKv1y7MBh+A==","signatures":[{"sig":"MEQCIALF50M0Lkz021mrDHiqi4yS2m7WSpk1+8EcBpLGhicJAiB7Hi9jkjrMr7D31ePmlAAKr8nDZmc4D5Eydz74xaFGKQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2930950},"main":"dist/index.js","types":"dist/types/index.d.ts","gitHead":"317f5479a79ac7cc859052ff8748befd9da0ee0c","scripts":{"test":"jest","build":"rollup -c ./rollup.config.js --bundleConfigAsCjs","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"bndy","email":"zb@bndy.net"},"repository":{"url":"git+https://github.com/bndynet/dator.js.git","type":"git"},"_npmVersion":"10.7.0","description":"A data generator","directories":{},"_nodeVersion":"20.15.1","dependencies":{"@faker-js/faker":"^8.4.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.3","rimraf":"^6.0.1","rollup":"^4.19.1","ts-jest":"^29.2.3","typescript":"^5.5.4","@types/jest":"^29.5.12","semantic-release":"^24.0.0","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@semantic-release/exec":"^6.0.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/dator_1.0.1_1722391897355_0.5213810488530974","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@bndynet/dator","version":"1.1.0","author":{"name":"Bendy Zhang","email":"zb@bndy.net"},"license":"MIT","_id":"@bndynet/dator@1.1.0","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"homepage":"https://github.com/bndynet/dator.js#readme","bugs":{"url":"https://github.com/bndynet/dator.js/issues"},"dist":{"shasum":"25a44ff511a4258fb6d2832fef2e525c0184118a","tarball":"https://registry.npmjs.org/@bndynet/dator/-/dator-1.1.0.tgz","fileCount":31,"integrity":"sha512-1bIkS+5rioLyfBtgZ98oDeBcvoA1oFeY0HycpiNBkVuuO2ji0RPeb9XWaoUn9VDvHgQeLmEv99YlAC8OEoM8Uw==","signatures":[{"sig":"MEQCICauAOH6GqqkGaEYVWfAZ9yqJEvPJ/MO8oQGvlQ7jX7vAiBPjznkRI3ctv3rF0nJYmuVLP7WTc2xTTxYDG8Rz3kN+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2934994},"main":"dist/index.js","types":"dist/types/index.d.ts","gitHead":"0482732b65d1edcf9c281ffac91783d6348ad09f","scripts":{"test":"jest","build":"rollup -c ./rollup.config.js --bundleConfigAsCjs","prebuild":"rimraf dist","semantic-release":"semantic-release"},"_npmUser":{"name":"bndy","email":"zb@bndy.net"},"repository":{"url":"git+https://github.com/bndynet/dator.js.git","type":"git"},"_npmVersion":"10.8.1","description":"A data generator","directories":{},"_nodeVersion":"20.16.0","dependencies":{"@faker-js/faker":"^8.4.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.3","rimraf":"^6.0.1","rollup":"^4.19.1","ts-jest":"^29.2.3","typescript":"^5.5.4","@types/jest":"^29.5.12","semantic-release":"^24.0.0","@rollup/plugin-terser":"^0.4.4","@semantic-release/git":"^10.0.1","@semantic-release/exec":"^6.0.3","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/dator_1.1.0_1724390242778_0.42858380244437844","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@bndynet/dator","version":"1.1.1","description":"A data generator","main":"dist/index.js","types":"dist/types/index.d.ts","scripts":{"prebuild":"rimraf dist","build":"rollup -c ./rollup.config.js --bundleConfigAsCjs","semantic-release":"semantic-release","test":"jest"},"author":{"name":"Bendy Zhang","email":"zb@bndy.net"},"repository":{"type":"git","url":"git+https://github.com/bndynet/dator.js.git"},"publishConfig":{"access":"public"},"license":"MIT","devDependencies":{"@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.6","@semantic-release/changelog":"^6.0.3","@semantic-release/exec":"^6.0.3","@semantic-release/git":"^10.0.1","@types/jest":"^29.5.12","jest":"^29.7.0","rimraf":"^6.0.1","rollup":"^4.19.1","semantic-release":"^24.0.0","ts-jest":"^29.2.3","tslib":"^2.6.3","typescript":"^5.5.4"},"dependencies":{"@faker-js/faker":"^8.4.1"},"_id":"@bndynet/dator@1.1.1","gitHead":"52f399fff2370aae6250d909b2339a77602290f8","bugs":{"url":"https://github.com/bndynet/dator.js/issues"},"homepage":"https://github.com/bndynet/dator.js#readme","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-bMvIxCLtZYhj9Ssz8HQcbtQHv8a/cjvW9fqG3fBYBTvKR4pFRvHQUIwpjOqmNw4WfQ9xTnZZFSlpY/Jhhy8zfA==","shasum":"eb2104c2fdbbdf096a8ade70150b3aebc73774d9","tarball":"https://registry.npmjs.org/@bndynet/dator/-/dator-1.1.1.tgz","fileCount":31,"unpackedSize":2938651,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDRFS16NKsBh6Nthcx3yM9Cx2Wl1IjWCJ3c6ki+TroWiAiA5yg6Whk3E3fqNSGGgtFUZOEt3VgA8QXZWonONqK1VAA=="}]},"_npmUser":{"name":"bndy","email":"zb@bndy.net"},"directories":{},"maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dator_1.1.1_1724418116864_0.7726300483024149"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-30T07:21:26.329Z","modified":"2024-08-23T13:01:57.287Z","1.0.0":"2024-07-30T07:21:26.719Z","1.0.1":"2024-07-31T02:11:37.629Z","1.1.0":"2024-08-23T05:17:23.025Z","1.1.1":"2024-08-23T13:01:57.115Z"},"bugs":{"url":"https://github.com/bndynet/dator.js/issues"},"author":{"name":"Bendy Zhang","email":"zb@bndy.net"},"license":"MIT","homepage":"https://github.com/bndynet/dator.js#readme","repository":{"type":"git","url":"git+https://github.com/bndynet/dator.js.git"},"description":"A data generator","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"readme":"# dator.js\n\n## CDN\n\n```html\n<script type=\"text/javascript\" src=\"https://unpkg.com/@bndynet/dator/dist/index.js\"></script>\n\n<script>\n  // dator.generate(...)\n</script>\n```\n\n\n## Package\n\n```shell\nnpm i @bndynet/dator -D\n```\n\n```typescript\nimport { generate } from '@bndynet/dator';\n\nconst mockData = generate(10, {\n  Visits: {\n    type: 'number',\n    args: {\n      min: 100,\n      max: 10000,\n    },\n  },\n  Views: {\n    type: 'number',\n    args: {\n      min: 100,\n      max: 10000,\n    },\n  },\n  Hits: {\n    type: 'number',\n    args: {\n      min: 100,\n      max: 10000,\n    },\n  },\n});\n```\n","readmeFilename":"README.md"}