{"_id":"4crud","_rev":"26-a6cbd67c6a817fd26198e4f7c9a329cb","name":"4crud","dist-tags":{"latest":"2.1.0"},"versions":{"0.1.0":{"name":"4crud","version":"0.1.0","description":"Fast nodejs module for API development","main":"index.js","scripts":{"test":"mocha","start":"node index.js"},"repository":{"type":"git","url":"git+https://github.com/gh3s/4crud.git"},"keywords":["nodejs","crud","http","server","api"],"author":{"name":"gh3s"},"license":"MIT","bugs":{"url":"https://github.com/gh3s/4crud/issues"},"homepage":"https://github.com/gh3s/4crud#readme","devDependencies":{"chai":"^4.2.0","chai-http":"^4.3.0","eslint":"^7.1.0","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.20.0","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","mocha":"^7.2.0"},"directories":{"test":"test"},"dependencies":{},"gitHead":"e8c36d7757e003ad02ddabe290d8b877f8fe10af","_id":"4crud@0.1.0","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-OJcsgZVuQpbZbk6F49xGXLAToVnGix6jxOYyjqbMC2Hz/aU+0rdDRb8hFvZmjDgtmBh12wYq1nejIu4BVgoX6g==","shasum":"a5040222fddd8c447e08e7bad1f091303addd9a5","tarball":"https://registry.npmjs.org/4crud/-/4crud-0.1.0.tgz","fileCount":7,"unpackedSize":8601,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4nNTCRA9TVsSAnZWagAAbBoP/1aiKHCvZCRora+E/MOr\nTFFZXea2LBM1pPOjx0BfWV9N2GIpWb4aTFOvZwZzmHlHxJjsBxTwFxps0+HL\nRdGJnGVnYY6qv0RHDtGVnjw48VhQ06JEOps5PV/ZDyHsbgT4A+W0OtkF78ni\n4IC3+65ZOz9+BGAl8TJ22CFQQjdvadWImUenu/t1D1LSa72H5nnze3pHlA+k\nTkxleqLzdcPqwBT77T+dyDvDivtXfEGkmZ394dabISlzyVgyCR2m99oPAAAM\nTBWzGYL5MxOWiIOjntmm9wBBtwuIN+rcAQDwvTiTFHB22Mb84eSpN3mOd/kD\ngaBHVFmxACXl4MCQjOBASRXjzNfv4+wNKik4WkiTJ19IKavclqtiA6DxbR1M\nxSicaB6UZQqVA35bY5pHhyEJbMQFTY96l7P8Ydictur41KFF0pDobjZsCGRg\nD2qkdWGImCwq2pz1wzIWc01HnLnyEMsL61R1z1vKSF5WsWwV579VPytZdMiH\nxwZIqDCCsxgE1olN6qXE1hO7tjKvcxlERvGFTOwUVbQNjU+uVC5hxhfznTii\nCoWEZlm2wyaYXACj8O1fpe2XbOkcIbupDGr6Rj8gNsa/C2wfwQgIhF+FYgcI\nqHusIkmGR6kj55f8V8dpUrpTU08SVVYvLKMjDEsy1WOvAYWLiiia2VJtdDtf\nMzvp\r\n=apNv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbPbnQ+MG8y9o/wzkV0SDnxsvviCNIgJsxRPSF/Ig8FwIhAPwEHvr6AKhsj3A2yL3mbZEsw0k3c+MwLB+ONJnl0wH9"}]},"maintainers":[{"name":"gh3s","email":"guilhermehsss@gmail.com"}],"_npmUser":{"name":"gh3s","email":"guilhermehsss@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4crud_0.1.0_1591898962335_0.1458791502118444"},"_hasShrinkwrap":false},"0.1.5":{"name":"4crud","version":"0.1.5","description":"Fast nodejs module for API development","main":"index.js","scripts":{"test":"mocha","start":"node index.js"},"repository":{"type":"git","url":"git+https://github.com/gh3s/4crud.git"},"keywords":["nodejs","crud","http","server","api","express","polka","fastify","http"],"author":{"name":"gh3s"},"license":"MIT","bugs":{"url":"https://github.com/gh3s/4crud/issues"},"homepage":"https://github.com/gh3s/4crud#readme","devDependencies":{"chai":"^4.2.0","chai-http":"^4.3.0","eslint":"^7.1.0","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.20.0","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","express":"^4.17.1","mocha":"^7.2.0"},"directories":{"test":"test"},"gitHead":"0fee7fc81b94c51c390dcd93a7c1720197095318","_id":"4crud@0.1.5","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-rSObnC0VYkHTMQt8sMgxo9Aa9GABZfSPjnqjcMuNWAF02PrwwQ8qR7QGaveV8bWRXqhd6NYN/Gl2PF/PTcDmsA==","shasum":"368d5869e6288f63528efeaac9b2dc8a902d1b43","tarball":"https://registry.npmjs.org/4crud/-/4crud-0.1.5.tgz","fileCount":5,"unpackedSize":7736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgg9HICRA9TVsSAnZWagAAFZkP/iWLH83inyhhs1nKsQUn\nT9l3b6P00yqT/JeWnp5XDtwDpIdmJv/UzHAL/I0aNvwAQanbbLqFnjltFM43\nsZKVIG1pxk6t4BAHsw1yFw8J3L151+Z+aNyc9YcybAxY/Qcvce6e4d7N5N6V\n5AgI747MQ9SsDHTjQiAkTLEvJaW3I/0Xv6M69UIr1j12oRAQlqItah4bd5hQ\nyvjfA7PcKIG1uXkyDQcQt/jz17nxU6rQE8c9BSTSLDBJgbLXo/jIrol07EIy\nldDCk2CdWqbImPH7NE4I6Hfs+V47cUq9Z5pt5AT7sgnUPovdF7TrA5gs2VQH\nA8qce8Iq0ZvPeZ3Ylv6uUPE39sPCSy05C3sIkYgYxoMaNqK4uLuh+JLIRWv9\nVIF/pN2pOR2FIiKNRJGpmOvB5ww44CU0o/T/S+6mshW5FNgpGXOmdkH5t9Xk\n6U0QC3Y23VdreKZ/2hRduXlaTQTSJCzPDwJFS7qH+s8FG+oA55LDqPb5ruBH\nChnWYlzxW5yiQI/k58t3sys7Mkq8leQkExwr0nFawrD2wYz+TXkufTFcCcG3\nfIVPk3xhNww5XO21vWyxHARIXugBbJ5BxCdGAG09R4fS8cWdhjSL5317SG6L\nwT/F/WIVNu/E3+qquLcTMlUbDqMx9sD5HY8E/iUkLqxihMOUXzkh436vv7mi\nct13\r\n=6gCo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDl63xh8ohyUQU2GfoUpDlvvdG0xf+aqTMRnswycafjCAIhAIaIiA9QgEK2eZya8QLHNRXORzFo+DMeRZGuDVjWDj7s"}]},"_npmUser":{"name":"gh3s","email":"guilhermehsss@gmail.com"},"maintainers":[{"name":"gh3s","email":"guilhermehsss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4crud_0.1.5_1619251656304_0.6276931924874849"},"_hasShrinkwrap":false},"1.0.1":{"name":"4crud","version":"1.0.1","description":"Fast nodejs module for API development","main":"index.js","scripts":{"test":"mocha","start":"node index.js"},"repository":{"type":"git","url":"git+https://github.com/gh3s/4crud.git"},"keywords":["nodejs","crud","http","server","api","express","polka","fastify","http"],"author":{"name":"gh3s"},"license":"MIT","bugs":{"url":"https://github.com/gh3s/4crud/issues"},"homepage":"https://github.com/gh3s/4crud#readme","devDependencies":{"chai":"^4.2.0","chai-http":"^4.3.0","eslint":"^7.1.0","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.20.0","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","express":"^4.17.1","mocha":"^7.2.0"},"directories":{"test":"test"},"dependencies":{"acorn-jsx":"^5.2.0","acorn":"^7.2.0","accepts":"^1.3.7","ansi-escapes":"^4.3.1","ansi-colors":"^3.2.3","ansi-regex":"^6.0.1","ajv":"^6.12.2","ansi-styles":"^3.2.1","argparse":"^1.0.10","anymatch":"^3.1.1","array-includes":"^3.1.1","array.prototype.flat":"^1.2.3","assertion-error":"^1.1.0","asynckit":"^0.4.0","astral-regex":"^1.0.0","array-flatten":"^1.1.1","balanced-match":"^1.0.0","binary-extensions":"^2.0.0","brace-expansion":"^1.1.11","body-parser":"^1.19.0","browser-stdout":"^1.3.1","bytes":"^3.1.0","braces":"^3.0.2","callsites":"^3.1.0","camelcase":"^5.3.1","chalk":"^2.4.2","chardet":"^0.7.0","check-error":"^1.0.2","chokidar":"^3.3.0","cli-cursor":"^3.1.0","cli-width":"^2.2.1","cliui":"^5.0.0","color-convert":"^1.9.3","combined-stream":"^1.0.8","component-emitter":"^1.3.0","contains-path":"^0.1.0","color-name":"^1.1.3","concat-map":"^0.0.1","content-disposition":"^0.5.3","content-type":"^1.0.4","cookie-signature":"^1.0.6","cookie":"^0.4.0","cookiejar":"^2.1.2","core-util-is":"^1.0.2","cross-spawn":"^7.0.3","decamelize":"^1.2.0","debug":"^4.1.1","deep-eql":"^3.0.1","deep-is":"^0.1.3","depd":"^1.1.2","delayed-stream":"^1.0.0","define-properties":"^1.1.3","doctrine":"^3.0.0","diff":"^3.5.0","ee-first":"^1.1.1","emoji-regex":"^8.0.0","encodeurl":"^1.0.2","error-ex":"^1.3.2","es-to-primitive":"^1.2.1","destroy":"^1.0.4","escape-html":"^1.0.3","eslint-plugin-es":"^3.0.0","escape-string-regexp":"^1.0.5","eslint-import-resolver-node":"^0.3.3","eslint-module-utils":"^2.5.2","eslint-scope":"^5.0.0","eslint-utils":"^2.0.0","eslint-visitor-keys":"^1.1.0","espree":"^7.0.0","esprima":"^4.0.1","esrecurse":"^4.2.1","esquery":"^1.3.1","estraverse":"^4.3.0","esutils":"^2.0.3","external-editor":"^3.1.0","extend":"^3.0.2","etag":"^1.8.1","fast-deep-equal":"^3.1.1","figures":"^3.2.0","fast-json-stable-stringify":"^2.1.0","fast-levenshtein":"^2.0.6","file-entry-cache":"^5.0.1","fill-range":"^7.0.1","finalhandler":"^1.1.2","find-up":"^2.1.0","flatted":"^2.0.2","flat":"^4.1.0","form-data":"^2.5.1","flat-cache":"^2.0.1","forwarded":"^0.1.2","formidable":"^1.2.1","fs.realpath":"^1.0.0","fresh":"^0.5.2","functional-red-black-tree":"^1.0.1","function-bind":"^1.1.1","glob-parent":"^5.1.2","get-caller-file":"^2.0.5","get-func-name":"^2.0.0","glob":"^7.1.6","globals":"^12.4.0","graceful-fs":"^4.2.3","growl":"^1.10.5","has":"^1.0.3","hosted-git-info":"^2.8.9","has-flag":"^3.0.0","he":"^1.2.0","has-symbols":"^1.0.1","http-errors":"^1.7.2","ignore":"^4.0.6","iconv-lite":"^0.4.24","import-fresh":"^3.2.1","imurmurhash":"^0.1.4","inflight":"^1.0.6","inherits":"^2.0.4","es-abstract":"^1.17.4","inquirer":"^7.1.0","ip-regex":"^2.1.0","ipaddr.js":"^1.9.1","is-arrayish":"^0.2.1","is-binary-path":"^2.1.0","is-callable":"^1.1.5","is-buffer":"^2.0.4","is-extglob":"^2.1.1","is-date-object":"^1.0.2","is-fullwidth-code-point":"^3.0.0","is-glob":"^4.0.1","is-ip":"^2.0.0","is-number":"^7.0.0","isarray":"^1.0.0","is-symbol":"^1.0.3","is-regex":"^1.0.5","isexe":"^2.0.0","js-tokens":"^4.0.0","js-yaml":"^3.13.1","json-schema-traverse":"^0.4.1","json-stable-stringify-without-jsonify":"^1.0.1","levn":"^0.4.1","load-json-file":"^2.0.0","is-string":"^1.0.5","methods":"^1.1.2","locate-path":"^2.0.0","log-symbols":"^3.0.0","media-typer":"^0.3.0","mime":"^1.6.0","merge-descriptors":"^1.0.1","mime-db":"^1.43.0","mime-types":"^2.1.26","mimic-fn":"^2.1.0","mkdirp":"^0.5.5","minimatch":"^3.0.4","mute-stream":"^0.0.8","ms":"^2.1.2","natural-compare":"^1.4.0","normalize-package-data":"^2.5.0","object-inspect":"^1.7.0","normalize-path":"^3.0.0","object-keys":"^1.1.1","object.assign":"^4.1.0","node-environment-flags":"^1.0.6","negotiator":"^0.6.2","object.getownpropertydescriptors":"^2.1.0","onetime":"^5.1.0","object.values":"^1.1.1","on-finished":"^2.3.0","once":"^1.4.0","optionator":"^0.9.1","os-tmpdir":"^1.0.2","parent-module":"^1.0.1","p-limit":"^1.3.0","p-locate":"^2.0.0","p-try":"^1.0.0","path-exists":"^3.0.0","parse-json":"^2.2.0","path-parse":"^1.0.7","path-is-absolute":"^1.0.1","parseurl":"^1.3.3","path-key":"^3.1.1","picomatch":"^2.2.2","path-to-regexp":"^0.1.7","pify":"^2.3.0","path-type":"^2.0.0","pathval":"^1.1.0","pkg-dir":"^2.0.0","process-nextick-args":"^2.0.1","prelude-ls":"^1.2.1","punycode":"^2.1.1","progress":"^2.0.3","raw-body":"^2.4.0","range-parser":"^1.2.1","qs":"^6.9.1","readable-stream":"^2.3.7","read-pkg":"^2.0.0","readdirp":"^3.2.0","regexpp":"^3.1.0","require-directory":"^2.1.1","read-pkg-up":"^2.0.0","require-main-filename":"^2.0.0","resolve":"^1.15.0","resolve-from":"^4.0.0","rimraf":"^2.6.3","restore-cursor":"^3.1.0","run-async":"^2.4.1","safer-buffer":"^2.1.2","safe-buffer":"^5.1.2","semver":"^6.3.0","lodash":"^4.17.21","set-blocking":"^2.0.0","setprototypeof":"^1.1.1","serve-static":"^1.14.1","shebang-command":"^2.0.0","signal-exit":"^3.0.3","shebang-regex":"^3.0.0","slice-ansi":"^2.1.0","spdx-correct":"^3.1.0","spdx-exceptions":"^2.2.0","spdx-expression-parse":"^3.0.0","sprintf-js":"^1.0.3","spdx-license-ids":"^3.0.5","string-width":"^4.2.0","string.prototype.trimleft":"^2.1.1","string.prototype.trimright":"^2.1.1","string_decoder":"^1.1.1","statuses":"^1.5.0","strip-ansi":"^5.2.0","strip-bom":"^3.0.0","strip-json-comments":"^3.1.0","superagent":"^3.8.3","supports-color":"^5.5.0","table":"^5.4.6","through":"^2.3.8","text-table":"^0.2.0","rxjs":"^6.5.5","proxy-addr":"^2.0.6","send":"^0.17.1","toidentifier":"^1.0.0","tslib":"^1.13.0","to-regex-range":"^5.0.1","type-detect":"^4.0.8","type-check":"^0.4.0","tmp":"^0.0.33","unpipe":"^1.0.0","type-fest":"^0.8.1","type-is":"^1.6.18","util-deprecate":"^1.0.2","utils-merge":"^1.0.1","validate-npm-package-license":"^3.0.4","uri-js":"^4.2.2","v8-compile-cache":"^2.1.1","vary":"^1.1.2","wide-align":"^1.1.3","word-wrap":"^1.2.3","which":"^1.3.1","wrap-ansi":"^5.1.0","which-module":"^2.0.0","wrappy":"^1.0.2","yargs":"^13.3.2","write":"^1.0.3","yargs-parser":"^13.1.2","yargs-unparser":"^1.6.0","y18n":"^4.0.3"},"gitHead":"aa62ca6fefea5b39a079dc926b0d3df9dea41d3d","_id":"4crud@1.0.1","_nodeVersion":"17.8.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-LCe9YT9FxQKmqfWT1AobhSfD4SOU4B3gjuR/YxnUB9ak/P7DUoGLJfQIiVlMo03BwEaQyUlaNJaB6UZjojHhSw==","shasum":"133d812ea8ae78fb18a5b82b5716d9553efc1a88","tarball":"https://registry.npmjs.org/4crud/-/4crud-1.0.1.tgz","fileCount":5,"unpackedSize":15272,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvPVXOJZjzln6MiKOS8OJjp9LcU79IRfnITZ7tt1C7RAiAGcMNoiN+INeWAz94ZXalgewg0TMG3Z/6N4jY/fxHDwQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiofyWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmooGhAAhn3xOdcyxMfapVp8/t5xSdgz/XTH5y0/Kfvf1ZIfbJJ8qx2n\r\ndmSgEYJ099lMOwtGzTDaxy7wRWCF8z52eMf1tcEUIr77Its4a7RNOWU+sFEH\r\n/1Bme2kUQnurMxcKXs1QHiNdPmbiwtEh5CFn82GHNAoG8kR+uFQmAbLp1H2H\r\nuAXy32QevgM0hf+8kUf3oG0R46Bx2c+zyGzvxc7QfvRGjIeOumLc8sE9Wdco\r\nK5iM233XL0TfmBjndlAE0Nasiv01yfmLt6iQKt686pDrwVJVEUnLambd7VH1\r\nJorYEGrhLtrNrfbXsaPmZJ9hfzgNRtBiGOpPvVLi11qk+VEfeGLqUP292foE\r\n5xn1rt6w6sKjbn7j7i3ty3bzV6XKyrar2O8G6jovFaDyYtXLjfHDZvNitrtV\r\nL/yeKAwmUqAWhF5Q3A4L385/H2MO6OpOIr/rsYib5YVSfLj2X0WghgDEsiwe\r\n/5VSBYkkRsQ0HhJ5JpPtouQ8gCu9/kP2C4vZmWnUZsKc8n9XTN/9W/UnMcWk\r\nFqQ4rL3PujInuyYNeWsXNIQdXHIaod09uQ+SDakXxUGFyfRVC3mBiOV94HAO\r\nK86v2Elr/eKK6WRJKp0UZOnVq0z+rRC9VF5t1XW2Wx3T3xPT6UcxWKp7qwd4\r\nLPlPQsxp1+ssQBoOva8RnJsIK38BeetNy+o=\r\n=d1nE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"gh3s","email":"guilhermehsss@gmail.com"},"maintainers":[{"name":"gh3s","email":"guilhermehsss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4crud_1.0.1_1654783126710_0.7314898187920851"},"_hasShrinkwrap":false},"1.1.0":{"name":"4crud","version":"1.1.0","description":"Fast nodejs module for API development","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha","start":"node index.js"},"repository":{"type":"git","url":"git+https://github.com/gh3s/4crud.git"},"keywords":["nodejs","crud","https","server","http","express","api","polka","fastify","http"],"author":{"name":"gh3s"},"license":"MIT","bugs":{"url":"https://github.com/gh3s/4crud/issues"},"homepage":"https://github.com/gh3s/4crud#readme","devDependencies":{"chai":"^4.3.7","chai-http":"^4.3.0","mocha":"^10.2.0"},"gitHead":"0da06f6f669423db2c8ea5369df7de32881dae14","_id":"4crud@1.1.0","_nodeVersion":"19.6.0","_npmVersion":"9.4.0","dist":{"integrity":"sha512-4xbq/jjSWSOpkXGXJ6qn5cZEJ00ans+XSoRKqLItz7sptNbORv4jBjEwhTVtMlw78JhZ/f/7tCWOlaaAkg1nMQ==","shasum":"6d29ffe170891dc289e1ed95dd1bb446aff51bc3","tarball":"https://registry.npmjs.org/4crud/-/4crud-1.1.0.tgz","fileCount":4,"unpackedSize":7693,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHOamBcjQyy7QEpxW78MsQSIEx6EdV/M1QI6MqX8qcjIAiAWxAmGPKAQugs+N3uW/auKWCd1fEx8+dbGnS8JY8arJQ=="}]},"_npmUser":{"name":"gh3s","email":"guilhermehsss@gmail.com"},"maintainers":[{"name":"gh3s","email":"guilhermehsss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4crud_1.1.0_1683739195550_0.3426011110220737"},"_hasShrinkwrap":false},"2.0.0":{"name":"4crud","version":"2.0.0","description":"Fast nodejs module for API development","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha","start":"node index.js"},"repository":{"type":"git","url":"git+https://github.com/gh3s/4crud.git"},"keywords":["nodejs","crud","https","server","http","express","api","polka","fastify","http"],"author":{"name":"gh3s"},"license":"MIT","bugs":{"url":"https://github.com/gh3s/4crud/issues"},"homepage":"https://github.com/gh3s/4crud#readme","devDependencies":{"chai":"^4.3.7","chai-http":"^4.3.0","mocha":"^10.2.0"},"gitHead":"0da06f6f669423db2c8ea5369df7de32881dae14","_id":"4crud@2.0.0","_nodeVersion":"19.6.0","_npmVersion":"9.4.0","dist":{"integrity":"sha512-LHgGvpgk2khM+Teyf76VyNAjvjwQsqlPGJsOdsQ8K5S08RwFUC9UQwpBjG2A/nTsN8Sp8jArkPBg7pr3go6dzA==","shasum":"3f8435716b90323f46b47417119170bb4825ae64","tarball":"https://registry.npmjs.org/4crud/-/4crud-2.0.0.tgz","fileCount":4,"unpackedSize":7693,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4A8SPujTc7ZdHCfiXRyQxY9zQCseRcIbFrrs0dlizRQIgPwbty9i55A+rnpBmn/3YZaRlgJR2bBmpXS+v6/z2mt8="}]},"_npmUser":{"name":"gh3s","email":"guilhermehsss@gmail.com"},"maintainers":[{"name":"gh3s","email":"guilhermehsss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4crud_2.0.0_1683739273079_0.7227664455710914"},"_hasShrinkwrap":false},"2.1.0":{"name":"4crud","version":"2.1.0","description":"Fast nodejs module for API development","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha","start":"node index.js"},"repository":{"type":"git","url":"git+https://github.com/gh3s/4crud.git"},"keywords":["nodejs","crud","https","server","http","express","api","polka","fastify","http"],"author":{"name":"gh3s"},"license":"MIT","bugs":{"url":"https://github.com/gh3s/4crud/issues"},"homepage":"https://github.com/gh3s/4crud#readme","devDependencies":{"chai":"^4.3.7","chai-http":"^4.3.0","mocha":"^10.2.0"},"gitHead":"ffa58afac880d80f288700b2b6d306816a22054f","_id":"4crud@2.1.0","_nodeVersion":"19.6.0","_npmVersion":"9.4.0","dist":{"integrity":"sha512-g+kDaPKQfVqNBuaEPoDCxcqLSxW2Xpr6Vg9JnKcDweUJIbv0ZamZpMWSccg0G/qMVnqUUVqmoTzjMkq1P4BUtw==","shasum":"294ed17589d7e88b22d5e28fed9cfa33cf141d54","tarball":"https://registry.npmjs.org/4crud/-/4crud-2.1.0.tgz","fileCount":4,"unpackedSize":8015,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHxanv1BAbGyg/8hhtwICCNnyktMb3CCN5XqXIyW+e2XAiB3bw6TxNCG1IERF7f/SRd6meSEwIboJ36Ee/E32sXRcg=="}]},"_npmUser":{"name":"gh3s","email":"guilhermehsss@gmail.com"},"maintainers":[{"name":"gh3s","email":"guilhermehsss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4crud_2.1.0_1683769064196_0.06337690996791467"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-14T03:12:50.475Z","1.0.0":"2020-01-14T03:12:50.663Z","modified":"2023-05-11T01:37:44.482Z","0.0.1":"2020-02-04T19:00:40.959Z","0.0.2":"2020-03-03T15:23:47.754Z","0.0.3":"2020-03-04T22:49:39.996Z","0.0.4":"2020-06-02T20:33:53.517Z","0.0.5":"2020-06-03T13:55:20.453Z","0.1.0":"2020-06-11T18:09:22.502Z","0.1.1":"2020-06-11T22:15:22.742Z","0.1.2":"2020-06-12T01:51:19.254Z","0.1.3":"2020-06-12T02:02:26.544Z","0.1.4":"2020-06-15T22:05:38.228Z","0.1.5":"2021-04-24T08:07:36.454Z","1.0.1":"2022-06-09T13:58:46.896Z","1.1.0":"2023-05-10T17:19:55.687Z","2.0.0":"2023-05-10T17:21:13.231Z","2.1.0":"2023-05-11T01:37:44.375Z"},"maintainers":[{"name":"gh3s","email":"guilhermehsss@gmail.com"}],"description":"Fast nodejs module for API development","homepage":"https://github.com/gh3s/4crud#readme","keywords":["nodejs","crud","https","server","http","express","api","polka","fastify","http"],"repository":{"type":"git","url":"git+https://github.com/gh3s/4crud.git"},"author":{"name":"gh3s"},"bugs":{"url":"https://github.com/gh3s/4crud/issues"},"license":"MIT","readme":"# 4Crud\n\n> VERY SMALL (7kb) and fast Node.js module for API development written with ES6 features.\n\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/gh3s/4crud/graphs/commit-activity)\n[![HitCount](https://img.shields.io/github/issues/gh3s/4crud/total.svg)](http://hits.dwyl.io/GH3S/4CRUD)\n[![npm](https://img.shields.io/npm/dw/4crud)](https://www.npmjs.com/package/4crud)\n\n## Getting Started\n\nA fast and VERY SMALL Node.js framework for API development using HTTPS written with javascript ES6 features.\n\n### Prerequisites\n\n* nodejs 12.x +\n\n### Installing\n\n```sh\nnpm install 4crud --save\n```\n\n### Testing\n\nThis project uses Mocha-Chai combination in /test folder\n```sh\nnpm test\n```\nor\n```sh\nnode test/server.js\n```\nand in other cli type:\n```sh\ncurl localhost:3000/getroute1?name=john\n\ncurl -X POST -H \"Content-Type: application/json\" -d '{\"name\":\"john\",\"password\":\"abc\"}' localhost:3000/postroute1\n```\n## Features\n* HTTPS or HTTP\n* Routing\n* Fast performance (Remember, ES6 have some intrinsic slowdowns but yes, it's fastest as express.js!)\n* Fast implementation on any type of API\n* Very small (just 15 KB!)\n\n## Usage\n\n```js\nconst Server = require('4crud')\nconst fs = require('fs') //Only for https\n\nconst privateKey = fs.readFileSync([PRIVATEKEYPATH], 'utf8') //Only for https\nconst certificate = fs.readFileSync([CERTIFICATEPATH], 'utf8') //Only for https\n\nconst credentials = {\n  key: privateKey,\n  cert: certificate,\n  passphrase: [PASS] //if exists\n} //Only for https\n\nconst server = new Server()\n\nserver\n  // curl localhost:3000/getroute1?name=john\n  .get('/route1', (req, res) => {\n    console.log(`GET on route 1 with name: ${req.search.get('name')}`)\n    res.statusCode = 200\n    res.setHeader('Content-Type', 'application/json')\n    res.end(JSON.stringify(req.url))\n  })\n  .get('/route2', (req, res) => {\n    //console.log('GET on route 2')\n    res.statusCode = 200\n    res.setHeader('Content-Type', 'application/json')\n    res.end('Hello')\n  })\n  // curl -X POST -H \"Content-Type: application/json\" -d '{\"name\":\"john\",\"password\":\"abc\"}' localhost:3000/postroute1\n  .post('/route1', (req, res) => {\n    console.log(`POST route 1 with name ${req.body.name}`)\n    res.statusCode = 200\n    res.setHeader('Content-Type', 'application/json')\n    res.end(JSON.stringify(req.body))\n  })\n  .post('/route2', (req, res) => {\n    console.log('POST on route 2')\n    res.statusCode = 200\n    res.setHeader('Content-Type', 'application/json')\n    res.end(JSON.stringify(req.body))\n  })\n  .put('/route1', (req, res) => {\n    console.log('PUT on route 1')\n    res.statusCode = 200\n    res.setHeader('Content-Type', 'application/json')\n    res.end(JSON.stringify(req.body))\n  })\n  .delete('/route2', (req, res) => {\n    console.log(`DELETE on route 1 with name ${req.body.name}`)\n    res.statusCode = 200\n    res.setHeader('Content-Type', 'application/json')\n    res.end(JSON.stringify(req.body))\n  })\n  .start(3000, credentials) // start server at port 3000\n\n```\n\n## Express.js comparison\n\nBellow the benchmark uses wrk (https://github.com/wg/wrk/wiki/Installing-Wrk-on-Linux)\n\nRun on your preferred CLI on /test folder with server on:\n```sh\nwrk -t8 -c100 -d30s http://localhost:3000/getroute1\n```\n\n|  Framework |  Requests/second | Size(kB) |\n|---|---|---|\n| Express  | ~05500  | 260 |\n| 4crud  |  ~15100 | 15 |\n| Native |  ~19000 | - |\n\n\n\n\n## Running\n\n```sh\nnpm start\n```\n\n## Release History\n\n* 0.1.0\n  * Basic routing implemented\n* 0.1.5\n  * File server example added\n  * Bugs fixed\n  * Benchmark corrected\n* 1.0.1\n  * Vulnerability corrections and production release\n* 2.0.0\n  * HTTP protocol supressed.  HTTPS implemented as the only protocol.\n  * Bugs fixed.\n* 2.1.0\n  * HTTPS and HTTP working together\n\n## Authors\n\n* **GH3S** - *Initial work*  - gh3s@protonmail.ch\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n\n## Contributing\n1. Fork it (<https://github.com/gh3s/4crud/fork>)\n2. Create your feature branch (`git checkout -b feature/fooBar`)\n3. Commit your changes (`git commit -am 'Add some fooBar'`)\n4. Push to the branch (`git push origin feature/fooBar`)\n5. Create a new Pull Request\n","readmeFilename":"README.md"}