{"_id":"@apacejs/cli","_rev":"1-50d1d8d45b9f267ff2d45d454d7b1420","name":"@apacejs/cli","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@apacejs/cli","version":"0.0.1","bin":{"apace":"./bin/apace.js"},"main":"./dist/app.js","description":"quickly write restful-api server","scripts":{"start:dev":"PORT=21001 supervisor dist/app.js","ts:watch":"tsc --watch --preserveWatchOutput","ts:build":"rm -rf dist && tsc","dev":"npm run ts:build && concurrently \"npm run ts:watch\"","start":"PORT=22001 supervisor dist/app.js","test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"dkvirus"},"license":"ISC","devDependencies":{"concurrently":"^5.0.2"},"dependencies":{"@types/express":"^4.17.2","body-parser":"^1.19.0","express":"^4.17.1","http-status-codes":"^1.4.0","nodemon":"^2.0.2","typescript":"^3.7.4"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/apacejs/apace-cli.git"},"bugs":{"url":"https://github.com/apacejs/apace-cli/issues"},"homepage":"https://github.com/apacejs/apace-cli#readme","gitHead":"799138297ec09578797182d373aee2d35b990713","_id":"@apacejs/cli@0.0.1","_nodeVersion":"12.9.1","_npmVersion":"6.10.2","_npmUser":{"name":"dkvirus","email":"949582269@qq.com"},"dist":{"integrity":"sha512-s9nz2WFUuizFrbsb+pvSMRicrZLn0PKGA9L7V8UAVJkvUg7c8MLtqLLDFjwffQfGSZFbkpdhS3K9dWmGChW2tA==","shasum":"9d47846a20214afe517b8ad4bbf9bd2e8365bd22","tarball":"https://registry.npmjs.org/@apacejs/cli/-/cli-0.0.1.tgz","fileCount":11,"unpackedSize":7850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJBstCRA9TVsSAnZWagAAy/gP/2l8UzoYL7G5g034ZXJH\nrGsZTlza2bHbnvJznnG2i15Oa+wyS46z8nbSXuk3RdZfNISUZj0NzDHOd/IO\nuGpwrJV4DUgCKqOngUdlasGGXfVG6GhoN0O4rpAoAO0ko16tt0bG0UUUsupx\nM47x+k9+HrA8ft63h6ntr8XfDUYdwrJn6/aMUP+gmXGhwophD7N+qXx6GVSV\nD9LofS7tAYbxMpw/GTKzFy8sE5OYl/vftwzEY9Ub+OJf8KNNpaM+w5RXnNLG\nDaFbf/igTq263A96pF96Bg85LlCaCYfPj5xFACRwIeEK+b7ACFXc8TEhVaXa\n2sE9g1tRejTJ/TGJA0lt9irkWcNjD/0ao9LECH11hDJJNGruKPZCYcPlX+pV\nwHFLu5Vvj6PFIEOsACchu9uF23vyU3sc722zcVOp1mPoOtJpExYo0jiaTX5+\ne7nG/Ig+4d4NP1ObOpxm2HNotTtmQux40mVjsTE2lgem6HvP+wGB0xVMPUSp\nYHUCsYWtBMB4wJJsWIpFCPGhxGhobTkmUc9YWrkS+JpC1oOno24FtY8WRoZB\n00taPdS5WNnBvDxENOuZqgeIT5s4UKP0hX4o1F6xV7DH0a1IwGvFB3H/+sp+\ntGWiETkDZqOxNU3/RkuhMcHXdDEtjVRW2VzIiuecsoHPsa4Jqt7QkTKwAx1+\n8y57\r\n=hozC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdiV1lbjk/PnIsAirW5xcspOznyl4KduQqFrTVJna4KQIhAIiXZXo/jkg8ZYdECRCTHFK37blm1U7TimqDlJjXWlGQ"}]},"maintainers":[{"name":"dkvirus","email":"949582269@qq.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_0.0.1_1579424557156_0.2341245570169015"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-19T09:02:36.918Z","0.0.1":"2020-01-19T09:02:37.310Z","modified":"2022-04-04T14:30:36.324Z"},"maintainers":[{"name":"dkvirus","email":"949582269@qq.com"}],"description":"quickly write restful-api server","homepage":"https://github.com/apacejs/apace-cli#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/apacejs/apace-cli.git"},"author":{"name":"dkvirus"},"bugs":{"url":"https://github.com/apacejs/apace-cli/issues"},"license":"ISC","readme":"## @apace/cli\n\n### Introduction\n\nquickly develop restful API use NodeJS.\n\n### Get Start\n\n**Step1**\n\n``` bash\n$ mkdir my-project && cd my-project \n$ npm init -y\n$ yarn add @apace/cli\n```\n\n**Step2**\n\n`$ touch router.js`\n\nedit content\n\n``` js\nconst express = require('express')\nconst app = express.Router()\n\napp.get('/', (req, res) => res.json({ greet: 'hello Apace' }))\n\nmodule.exports = app\n```\n\n**Step3**\n\n``` bash\n$ npx apace dev\n```\n\nopen browser and write: `localhost:8000`, then you will see a simple restful api.\n\n### Target\n\n> Someone told me: The best framework is just business code.\n","readmeFilename":"README.md"}