{"_id":"@aivec/nlp-api-server","_rev":"8-03d75de0f9bb056043e56d608ea0557d","name":"@aivec/nlp-api-server","dist-tags":{"latest":"0.0.11"},"versions":{"0.0.5":{"name":"@aivec/nlp-api-server","version":"0.0.5","scripts":{"test":"mocha -r ts-node/register -r tsconfig-paths/register 'test/**/*.ts'","lint":"eslint src --ext .ts","lint:fix":"eslint src --ext .ts --fix","start:mongo":"docker run --name nlp-mongo-db -p 27017:27017 -d mongo","start:node":"TS_NODE_BASEURL=./dist node -r tsconfig-paths/register ./dist/src/www.js","dev":"ts-node-dev -r tsconfig-paths/register --respawn --pretty --transpile-only ./src/www.ts","build":"tsc -p tsconfig.build.json"},"dependencies":{"cors":"^2.8.5","debug":"~2.6.9","dotenv":"^14.1.0","express":"~4.16.1","i18next":"^21.6.6","mongodb":"^4.3.0","morgan":"~1.9.1"},"devDependencies":{"@tsconfig/node16":"^1.0.2","@types/cors":"^2.8.12","@types/express":"^4.17.13","@types/mocha":"^9.0.0","@types/morgan":"^1.9.3","@types/node":"^17.0.8","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","eslint":"^8.6.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^16.1.0","eslint-plugin-import":"^2.25.4","mocha":"^9.1.4","ts-node":"^10.4.0","ts-node-dev":"^1.1.8","tsconfig-paths":"^3.12.0","typescript":"^4.5.4"},"eslintConfig":{"extends":["airbnb-base","airbnb-typescript/base"],"parserOptions":{"project":"./tsconfig.json"},"rules":{"import/prefer-default-export":[0,"never"]}},"gitHead":"c47454d4520ace7e2a4630625b4ee6f1597cd7dc","description":"This is the backend REST API for NLP powered by NodeJS and MongoDB","_id":"@aivec/nlp-api-server@0.0.5","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"integrity":"sha512-cGcsWaH1mAdowfQ3H5Y8Z0WBiCWsu0O3DZEvZOD9xQGUCCGJeJyGMHw4ZHBGI7Em0vhFVriLiOuzgBC86YkQJA==","shasum":"ccee71d618e3171290a4c33785f61dc6a07e8f73","tarball":"https://registry.npmjs.org/@aivec/nlp-api-server/-/nlp-api-server-0.0.5.tgz","fileCount":2,"unpackedSize":2795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7kVVCRA9TVsSAnZWagAAvZ0P/2O/3mTfb7MjWWzfITmp\ncisouTTHRu/pBqb9ae/1CVJTtQOYSCucPDLAzOtKT2td+DpsGqObgrmwTkmN\nehyHDRm1NJbnOtC1Ny3Nja8kOUFBqJoDrtRXL5Jqj7yETPF5C30WVIAvK5FG\nHm5kZSFj7pAn+DmX8n2x/r06afLc7GytU/DM/z7PsMJ+dJxKxzbvFRj+VpMe\nIWRi2tTGmG7o2FIjuWo9Cfgnhlyn/fTX2lTe9GR9l0Dk1lAzNhxSH+prHCtB\nMiSpcwrKdRVbux6mryOJhGIhFSA1yuY2HSyFAqmmfdOREN9Y+SZkPtuc9GQ8\nmDs/39tyBl5VpHKdnzGTDdcMf8qB3eebGHugoV5r0/0w+34WCTfcjYyEG7YW\ntiVP56Lhtdoyiv42eyjtDutjD0Kv8/3jDuOkNUYfaUItqlfylUZ93hj1lHw0\nZ74tWXXkHI+5onrCB1hHoVBssnx/m9mBbgzwWgziGsurbL0reolM3l1Uy2rB\nnAFHrFCh8fJqy48krJvEeAAc+VK1sq4rA2K2OPGePA/7gnCfaGXe+n7yhpqk\ncxmwA4ijAPvlsbK15tpnxeoxgnF955grzJgyF2G+FPqgGQPFLNDhdp1UmOI+\nyr2Dc6g3ylNqFQsgXo4qCYnUs+XwdTw4iilLudBBFr9g944O8Q1cKaLOzlGA\nS3do\r\n=Ffxk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEUWzsYUcgg5jhBHrcTTqEtGciwHP4wd9src2B+zRYLPAiEAmU0e/V4otaGUT0UmpyTw9OP3I1cdSX8fhDhcU5HrrVo="}]},"_npmUser":{"name":"the8thcelljr","email":"evandanielshaw@gmail.com"},"directories":{},"maintainers":[{"name":"the8thcelljr","email":"evandanielshaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nlp-api-server_0.0.5_1643005269765_0.518633274135974"},"_hasShrinkwrap":false},"0.0.6":{"name":"@aivec/nlp-api-server","version":"0.0.6","scripts":{"test":"mocha -r ts-node/register -r tsconfig-paths/register 'test/**/*.ts'","lint":"eslint src --ext .ts","lint:fix":"eslint src --ext .ts --fix","start:mongo":"docker run --name nlp-mongo-db -p 27017:27017 -d mongo","start:node":"TS_NODE_BASEURL=./dist node -r tsconfig-paths/register ./dist/src/www.js","dev":"ts-node-dev -r tsconfig-paths/register --respawn --pretty --transpile-only ./src/www.ts","build":"tsc -p tsconfig.build.json"},"dependencies":{"cors":"^2.8.5","debug":"~2.6.9","dotenv":"^14.1.0","express":"~4.16.1","i18next":"^21.6.6","mongodb":"^4.3.0","morgan":"~1.9.1"},"devDependencies":{"@tsconfig/node16":"^1.0.2","@types/cors":"^2.8.12","@types/express":"^4.17.13","@types/mocha":"^9.0.0","@types/morgan":"^1.9.3","@types/node":"^17.0.8","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","eslint":"^8.6.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^16.1.0","eslint-plugin-import":"^2.25.4","mocha":"^9.1.4","ts-node":"^10.4.0","ts-node-dev":"^1.1.8","tsconfig-paths":"^3.12.0","typescript":"^4.5.4"},"eslintConfig":{"extends":["airbnb-base","airbnb-typescript/base"],"parserOptions":{"project":"./tsconfig.json"},"rules":{"import/prefer-default-export":[0,"never"]}},"gitHead":"900020c57d593dae19357760579ae90fcf9a931c","description":"This is the backend REST API for NLP powered by NodeJS and MongoDB","_id":"@aivec/nlp-api-server@0.0.6","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"integrity":"sha512-EuOFnGSDoRY8dhfpm/SgUvfxXji50N1LFFHjySSrPOJNVnm+XJAjBGloAJXqJ9Py7crKvxBHDGKrjNal0IXWfw==","shasum":"a8955ec34d57d6142f7eb44b3b6a3566f4f5033f","tarball":"https://registry.npmjs.org/@aivec/nlp-api-server/-/nlp-api-server-0.0.6.tgz","fileCount":8,"unpackedSize":4977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7ks2CRA9TVsSAnZWagAAKSwP+gI210xHMq+7CZaS/TN5\nRavM0enwkA8RY/lKCAVGKQthOWXVDdUfGxTw+nig/5pkB52C5FEPvUWZLbgp\nyi5M7np0UbVBrzPpPXN/2GSgwQL9kaOfM/6ypZ/4dtnPJfTQj/GYWAyuinFV\n9VSH0Lx+OZctd/zDbxJGp+uF5vRhgr7QzXC4rzldLgb6ugHEvuPAooj8a9Be\nOVRAH99jlHIh4Chfy5bdoC2STUbuKXLEDSiDImX9oOSycHia7Xfi4Q5YijSQ\nzE9ooSEHc1dt3nOLjkzof+YJcXQ02+YJLVWqgb6vT2QRIXFwYDakYibdbVvH\n9hODKpAaQIvsVQd8tPtPpQP1xtn+MmxLJkBdO8hHG3gkvyiSqO/pJA8iRcCw\nrQ91gezk5+G/rvkUP+NqWi/D+9HGyHspQu9LkQyCSscXXxItrAlrYXbK2KTq\nZQOdPnOF2OQzmLilhW701hEg6DFUyJYuvaTfg9Vux+h/xcLjQuMElQsLPIFM\nc4hBw789RxiAiLsd02OFR+6kv3J3eXqji5sEB37Cv2Kw6tPh8aZ0QqQ33RCj\nwiQp+dVWIFLjNoY4DkBv340r5Szl8j/aEJctSgD6q2WQpOgwznlBdVGxlGM+\nyjflaB9xEzPy1V/e3ci+KxHiJFUMB5Q6v9EIs1o3ItbhMc82yFbVKlQ0RKqt\ndrq0\r\n=+l4k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIASyA1GJMe4QBD0YzOvSLsljRc2xb5PWHVSWr3yOrF53AiEAh7bBMEKgNrDngSqjicmCc+lYDG2prqR9wNzQfanmTfQ="}]},"_npmUser":{"name":"the8thcelljr","email":"evandanielshaw@gmail.com"},"directories":{},"maintainers":[{"name":"the8thcelljr","email":"evandanielshaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nlp-api-server_0.0.6_1643006773952_0.5940632901595428"},"_hasShrinkwrap":false},"0.0.7":{"name":"@aivec/nlp-api-server","version":"0.0.7","scripts":{"test":"mocha -r ts-node/register -r tsconfig-paths/register 'test/**/*.ts'","lint":"eslint src --ext .ts","lint:fix":"eslint src --ext .ts --fix","start:mongo":"docker run --name nlp-mongo-db -p 27017:27017 -d mongo","start:node":"TS_NODE_BASEURL=./dist node -r tsconfig-paths/register ./dist/src/www.js","dev":"ts-node-dev -r tsconfig-paths/register --respawn --pretty --transpile-only ./src/www.ts","build":"tsc -p tsconfig.build.json"},"dependencies":{"cors":"^2.8.5","debug":"~2.6.9","dotenv":"^14.1.0","express":"~4.16.1","i18next":"^21.6.6","mongodb":"^4.3.0","morgan":"~1.9.1"},"devDependencies":{"@tsconfig/node16":"^1.0.2","@types/cors":"^2.8.12","@types/express":"^4.17.13","@types/mocha":"^9.0.0","@types/morgan":"^1.9.3","@types/node":"^17.0.8","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","eslint":"^8.6.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^16.1.0","eslint-plugin-import":"^2.25.4","mocha":"^9.1.4","ts-node":"^10.4.0","ts-node-dev":"^1.1.8","tsconfig-paths":"^3.12.0","typescript":"^4.5.4"},"eslintConfig":{"extends":["airbnb-base","airbnb-typescript/base"],"parserOptions":{"project":"./tsconfig.json"},"rules":{"import/prefer-default-export":[0,"never"]}},"gitHead":"d686444dc2e36420dfd7d53fe16ddaeabeccb350","description":"This is the backend REST API for NLP powered by NodeJS and MongoDB","_id":"@aivec/nlp-api-server@0.0.7","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"integrity":"sha512-gNd0LDolHSFHptHiib4p4QgzX4Ui9EvuxFoAgRd613T9DrNXOmMxQ5G/mycvo2p7B0Uyqs44m9g4WHbOMBpRag==","shasum":"d8b6c901b3b1b7d5907c593bc2cde944ba91af9b","tarball":"https://registry.npmjs.org/@aivec/nlp-api-server/-/nlp-api-server-0.0.7.tgz","fileCount":8,"unpackedSize":4968,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7k1iCRA9TVsSAnZWagAAW0gP/3M2K2iZMeBrbe6pezg2\nznmAML3AD8ax2Xdyd5Z0z5GUIOAvWBREJ0ckfrVZBUuTaUTDFsBg1SfcrkrJ\n/DzxV7p85fGAe7pGAySNZlTxZEjkxwfeK8Q1GF4zoxXfVztYKUNxbNbKpMmk\nLB1Fgdn2gbB1N/pwvB2/91sSV1Svy4CLRu+oF67C2uIWA0MLblZT5E0TAGBI\n0oOOHPGs6ax6JAJeC5WqcosPwb5QG5WY8qWU1xeoupWhACp6hRF1DxarJCuc\nCfcsEpp/5lv73Cp5s1a0sNpUCGlUhM/3mJUV30g962sQAJtRohAX6BEJV+0I\nV88kKn1Ymmx5LAkSFI6KBJWSdeHxBgebxqY+c3UXmbDdJRI4PWosJNY7h2rY\nHxHPBULW5aSnAt3jOS4ZXAFL4WsNhRyU4sYavQpqM4FG8STq9nHdKphDO35V\niuU12GIAiA266ii0H337zB7NKpBPvhJD5PUXBmCU6FW5mUZ0BC/OW22+7VWY\npAz6hJn8VzLRxOzJgf/uOTnzPM6aptTm1GXpdvBuIXaar5RoJ8QiM0uvqgSk\ncaKeELJ+/fUCCqloJlu508eD8wdwVnvtflpkHAhhgdCCKsBSrQ6DXyATPJMb\nO3Z29ihD1s+3dUW1/d9O3I9VrNMNscE8Zt8aGkhqV5rD+2Dh5cxXVUQswZ54\nLtYa\r\n=EHD2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA8AOOsQvr5Zc9Opxq/OUCOpmCZICR59D4p8Crk4CjWXAiAFqWVuRLXVIF4A/WeyzIF7YkRSuG+ns5Q4Ide69syT3g=="}]},"_npmUser":{"name":"the8thcelljr","email":"evandanielshaw@gmail.com"},"directories":{},"maintainers":[{"name":"the8thcelljr","email":"evandanielshaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nlp-api-server_0.0.7_1643007329868_0.995333066465178"},"_hasShrinkwrap":false},"0.0.8":{"name":"@aivec/nlp-api-server","version":"0.0.8","scripts":{"test":"mocha -r ts-node/register -r tsconfig-paths/register 'test/**/*.ts'","lint":"eslint src --ext .ts","lint:fix":"eslint src --ext .ts --fix","start:mongo":"docker run --name nlp-mongo-db -p 27017:27017 -d mongo","start:node":"TS_NODE_BASEURL=./dist node -r tsconfig-paths/register ./dist/src/www.js","dev":"ts-node-dev -r tsconfig-paths/register --respawn --pretty --transpile-only ./src/www.ts","build":"tsc -p tsconfig.build.json"},"dependencies":{"cors":"^2.8.5","debug":"~2.6.9","dotenv":"^14.1.0","express":"~4.16.1","i18next":"^21.6.6","mongodb":"^4.3.0","morgan":"~1.9.1"},"devDependencies":{"@tsconfig/node16":"^1.0.2","@types/cors":"^2.8.12","@types/express":"^4.17.13","@types/mocha":"^9.0.0","@types/morgan":"^1.9.3","@types/node":"^17.0.8","@typescript-eslint/eslint-plugin":"^5.9.1","@typescript-eslint/parser":"^5.9.1","eslint":"^8.6.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^16.1.0","eslint-plugin-import":"^2.25.4","mocha":"^9.1.4","ts-node":"^10.4.0","ts-node-dev":"^1.1.8","tsconfig-paths":"^3.12.0","typescript":"^4.5.4"},"eslintConfig":{"extends":["airbnb-base","airbnb-typescript/base"],"parserOptions":{"project":"./tsconfig.json"},"rules":{"import/prefer-default-export":[0,"never"]}},"gitHead":"06e31003fad321d0ca774330f578ef569fa46149","description":"This is the backend REST API for NLP powered by NodeJS and MongoDB","_id":"@aivec/nlp-api-server@0.0.8","_nodeVersion":"14.18.3","_npmVersion":"7.20.3","dist":{"integrity":"sha512-F+4xXoHGUiKALwx+V6DO7TImCzl1Udfijl1QSWba7LDM2m/YGe0wFnDCwMTZyACfAlEa2JGn5JJ9Y9Hn+iaU9A==","shasum":"88147e9305f8fae7919b1bf611f9a3bd94622112","tarball":"https://registry.npmjs.org/@aivec/nlp-api-server/-/nlp-api-server-0.0.8.tgz","fileCount":19,"unpackedSize":14231,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh75G1CRA9TVsSAnZWagAAUqAQAJXt0WSPiTFgqEtl4bRJ\nQse+y1dpFT1w+x1VuFl3sQ9MB4Xczo5a09dRAqLtEFiJJYRcL4QbFAw/1rQ8\nkduRf0wO/ZQWDX4sc/15kdV/tdQKZn85hyzp6xpQonmxN85ErweQHnwRwtpS\n0Cfgi60VH7dWrmMpgjHHCqindyBLlftCkRNuFkLI+bG3PnK5eHXySo/KkN2b\ndvCxy/cNbcqME44x4iDAVLswVe6hpwcdO/QPtyYAhCBTxWNx/L8v1tTAmrGd\nHr3JeO9N4g8lcVjIvTOp6juEezKq2A5r+avzUQ+7bT6gVzgg31thsxM6gywM\nR7Vu0Nz386cgg/BzihHlYfTygbE6EV75WWtsQwMMcHdPUuAjZuDv8bzHolsS\n6ptcofddLOtxa9xuCP28lJ/UL0PNjJuyj7g5qhj3wDue+hzl/H4Jz6auukHr\nR7ow6T+yQqUdvpNailrWZcx1xG5+qe+L8L6yb/d978Keu3fAuXgOy8CjL5p5\nhMj0iqekCMaGSFjDvXR2h2swssyU+a7BUB9k95lIgNdBleQyy87EAAFjvZVF\nhMxaE3CZysOmckh2s8CXVsOpN/6is3XcK4URzPSgoTiEI4hZsrdPkd37LaWh\naEv5GAvL6qawCIiETUpM75gm+6Nd4N4UC3J2mCNL8lTJHjkPlyEGzS6M/rfV\ni8zg\r\n=rsPX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFuM/0I2GOp+prNgYaau1yqZx5puaWYPqJMs/XrVixxQIgH9UUFe5Nkw3JbcCJ/aKkp/1uAMO4tQxR6YGOzbepDJE="}]},"_npmUser":{"name":"the8thcelljr","email":"evandanielshaw@gmail.com"},"directories":{},"maintainers":[{"name":"the8thcelljr","email":"evandanielshaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nlp-api-server_0.0.8_1643090357471_0.839076829926608"},"_hasShrinkwrap":false},"0.0.9":{"name":"@aivec/nlp-api-server","version":"0.0.9","description":"This is the backend REST API for NLP powered by NodeJS and MongoDB","repository":{"type":"git","url":"git+https://github.com/aivec/nlp-api-server.git"},"author":{"name":"Evan D. Shaw"},"license":"ISC","bugs":{"url":"https://github.com/aivec/nlp-api-server/issues"},"homepage":"https://github.com/aivec/nlp-api-server#readme","scripts":{"test":"npm run node -- \"./node_modules/.bin/mocha -r ts-node/register -r tsconfig-paths/register -r test/fixtures.ts 'test/**/*.ts'\"","test:debug":"npm run node -- \"./node_modules/.bin/mocha --inspect-brk=0.0.0.0:9229 -r ts-node/register -r tsconfig-paths/register -r test/fixtures.ts 'test/**/*.ts'\"","lint":"eslint src --ext .ts","lint:fix":"eslint src --ext .ts --fix","init":"node ./config/create-dotenv.js","node":"docker build . -t nlp-api-node14 && docker-compose run --rm --service-ports node","start:services":"docker-compose up -d nlp-mongo-db1 nlp-mongo-db2 nlp-mongo-db3 mailhog && docker exec nlp-mongo-db1 /scripts/rs-init.sh","stop:services":"docker-compose down","start:node":"npm run node -- \"./node_modules/.bin/tsc -b tsconfig.build.json && NODE_OPTIONS='-r dotenv/config -r ./config/tsconfig-paths-bootstrap.js' node ./dist/src/www.js\"","dev":"npm run node -- \"./node_modules/.bin/ts-node-dev -r tsconfig-paths/register --inspect=0.0.0.0:9229 --respawn --pretty --transpile-only ./src/www.ts\"","build":"tsc -b tsconfig.build.json","docs:generate":"docker-compose run --rm docs-generator","sls:login":"npm run init && sls login","deploy:staging":"npm run init && tsc -b tsconfig.build.json && sls deploy --verbose --stage staging","deploy:prod":"npm run init && tsc -b tsconfig.build.json && sls deploy --verbose --stage prod"},"dependencies":{"@serverless/utils":"^6.0.2","axios":"^0.25.0","bcrypt":"^5.0.1","bytes":"^3.1.2","cfn-response":"^1.0.1","cors":"^2.8.5","debug":"~2.6.9","dotenv":"^14.1.0","express":"~4.16.1","express-jwt":"^6.1.0","generate-password":"^1.7.0","i18next":"^21.6.6","jsonwebtoken":"^8.5.1","moment":"^2.29.3","mongodb":"^4.4.0","morgan":"~1.9.1","nodemailer":"^6.7.3","serverless-http":"^2.7.0","tsconfig-paths":"^3.12.0"},"devDependencies":{"@serverless/typescript":"^3.0.0","@tsconfig/node16":"^1.0.2","@types/bcrypt":"^5.0.0","@types/bytes":"^3.1.1","@types/cfn-response":"^1.0.5","@types/cors":"^2.8.12","@types/express":"^4.17.13","@types/express-jwt":"^6.0.4","@types/jsonwebtoken":"^8.5.8","@types/mocha":"^9.0.0","@types/morgan":"^1.9.3","@types/node":"^17.0.8","@types/nodemailer":"^6.4.4","@types/serverless":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.19.0","@typescript-eslint/parser":"^5.9.1","eslint":"^8.6.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^16.1.0","eslint-plugin-import":"^2.25.4","lodash":"^4.17.21","mocha":"^9.1.4","serverless":"^3.0.1","ts-node":"^10.4.0","ts-node-dev":"^1.1.8","typescript":"^4.5.4"},"eslintConfig":{"extends":["airbnb-base","airbnb-typescript/base"],"parserOptions":{"project":"./tsconfig.json"},"rules":{"import/prefer-default-export":[0,"never"],"no-underscore-dangle":["error",{"allow":["_id"]}]}},"gitHead":"7a6ac1cb0970a6518c8b8072ee8756889cc03918","_id":"@aivec/nlp-api-server@0.0.9","_nodeVersion":"16.15.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-VyFzONEUFo3J+5fIhK1nsrVO+S5WmCsRVRctOHEFd+LwVolgwmbvE5p7GP7ac+F4OyHzkSlw7/gg3mPsOJCCIg==","shasum":"634b6df102ea651d65fec8491f07ac9c3038a7dd","tarball":"https://registry.npmjs.org/@aivec/nlp-api-server/-/nlp-api-server-0.0.9.tgz","fileCount":31,"unpackedSize":72529,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICmtyk2L+ygmIYs7LPUqDnkGdRkfydN7Fq8iIVSafoQFAiB889SwQ6mRlJQZ5cia1TQqUVlF9CaxcAnQ+kbavOklIg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijxNlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRXhAAknQGXJ7wk/eQA58LlMlvfYrIUiVZFJ2NCo4PBFrJeSwpngPg\r\nNyGXKyWr7LquABMRE7mpSHLEBiP+lLgB2dSJJXWK+ZH/WEUCRnR7deUdGS8V\r\nTdrLg4pH6e+S8+tSRYY+dOkH1zVgVQqxA7zTk6e/54iGRZ4gNjAAdxSv0Ny8\r\nipcUPjpJZpxf7y6xgaLCsDTwqYIKKn15JpV8OyYpBRglXmR/Z4WI4NtzWpKK\r\nttyktZD2Z7iHxPWgtDPZLm+UhOCX+Xql3xzL3q4A3rFfx9zZkZxyCNOREDlT\r\nJydNxc2LB13Vil7IFsnmdB8gz1imEQvvbgmhoZjG0H9eVbuO6aGjNvQkmUwn\r\ntNDqeEmudXwpOCYDUArnrHNNEWzYQVDOJ6MMn/YP8MTMLC7DGT/eqgUNsoQz\r\n4k1jvs6Si8ktDqGjrbl49kukaMVM61FOVw/06865TkI3FDRvd7lDQUcPp+aj\r\nzvxl6tocSpbhZP+/iK9/sK1+M5yXT0qBIAEG8q2bbblpeBiZWNuQE/jJpPfp\r\n7kcJ75ukyZ6ZPRpD4rSYXU7dze2UnFxMAihKIn61yR9WUW16E/JBYPmy6kXI\r\ny1YGy7DMGUggwgnmP+WGnOhX3+d9GO5rhHLPjs8vlMsaBDvIr9wATQpEtVgN\r\nTMWtHUja7qMbNZ/OLGXmwMTpWCWf98M53as=\r\n=Anpd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"the8thcelljr","email":"evandanielshaw@gmail.com"},"directories":{},"maintainers":[{"name":"the8thcelljr","email":"evandanielshaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nlp-api-server_0.0.9_1653543781156_0.9934857156042669"},"_hasShrinkwrap":false},"0.0.11":{"name":"@aivec/nlp-api-server","version":"0.0.11","description":"This is the backend REST API for NLP powered by NodeJS and MongoDB","repository":{"type":"git","url":"git+https://github.com/aivec/nlp-api-server.git"},"author":{"name":"Evan D. Shaw"},"license":"ISC","bugs":{"url":"https://github.com/aivec/nlp-api-server/issues"},"homepage":"https://github.com/aivec/nlp-api-server#readme","scripts":{"test":"npm run node -- \"./node_modules/.bin/mocha -r ts-node/register -r tsconfig-paths/register -r test/fixtures.ts 'test/**/*.ts'\"","test:debug":"npm run node -- \"./node_modules/.bin/mocha --inspect-brk=0.0.0.0:9229 -r ts-node/register -r tsconfig-paths/register -r test/fixtures.ts 'test/**/*.ts'\"","lint":"eslint src --ext .ts","lint:fix":"eslint src --ext .ts --fix","init":"node ./config/create-dotenv.js","node":"docker build . -t nlp-api-node14 && docker-compose run --rm --service-ports node","start:services":"docker-compose up -d nlp-mongo-db1 nlp-mongo-db2 nlp-mongo-db3 mailhog && docker-compose run --rm mongoinit","stop:services":"docker-compose down","start:node":"npm run node -- \"./node_modules/.bin/tsc -b tsconfig.build.json && NODE_OPTIONS='-r dotenv/config -r ./config/tsconfig-paths-bootstrap.js' node ./dist/src/www.js\"","dev":"npm run node -- \"./node_modules/.bin/ts-node-dev -r tsconfig-paths/register --inspect=0.0.0.0:9229 --respawn --pretty --transpile-only ./src/www.ts\"","build":"tsc -b tsconfig.build.json","docs:generate":"docker-compose run --rm docs-generator","sls:login":"npm run init && sls login","deploy:staging":"npm run init && tsc -b tsconfig.build.json && sls deploy --verbose --stage staging","deploy:prod":"npm run init && tsc -b tsconfig.build.json && sls deploy --verbose --stage prod"},"dependencies":{"@serverless/utils":"^6.0.2","axios":"^0.25.0","bcrypt":"^5.0.1","bytes":"^3.1.2","cfn-response":"^1.0.1","cors":"^2.8.5","debug":"~2.6.9","dotenv":"^14.1.0","express":"~4.16.1","express-jwt":"^6.1.0","generate-password":"^1.7.0","i18next":"^21.6.6","jsonwebtoken":"^8.5.1","moment":"^2.29.3","mongodb":"^4.4.0","morgan":"~1.9.1","nodemailer":"^6.7.3","serverless-http":"^2.7.0","tsconfig-paths":"^3.12.0"},"devDependencies":{"@serverless/typescript":"^3.0.0","@tsconfig/node16":"^1.0.2","@types/bcrypt":"^5.0.0","@types/bytes":"^3.1.1","@types/cfn-response":"^1.0.5","@types/cors":"^2.8.12","@types/express":"^4.17.13","@types/express-jwt":"^6.0.4","@types/jsonwebtoken":"^8.5.8","@types/mocha":"^9.0.0","@types/morgan":"^1.9.3","@types/node":"^17.0.8","@types/nodemailer":"^6.4.4","@types/serverless":"^3.0.0","@typescript-eslint/eslint-plugin":"^5.19.0","@typescript-eslint/parser":"^5.9.1","eslint":"^8.6.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^16.1.0","eslint-plugin-import":"^2.25.4","lodash":"^4.17.21","mocha":"^9.1.4","serverless":"^3.0.1","ts-node":"^10.4.0","ts-node-dev":"^1.1.8","typescript":"^4.5.4"},"eslintConfig":{"extends":["airbnb-base","airbnb-typescript/base"],"parserOptions":{"project":"./tsconfig.json"},"rules":{"import/prefer-default-export":[0,"never"],"no-underscore-dangle":["error",{"allow":["_id"]}]}},"gitHead":"e6eddc56379484f97adc72d4ff09e6c0968f9f74","_id":"@aivec/nlp-api-server@0.0.11","_nodeVersion":"14.19.3","_npmVersion":"7.20.3","dist":{"integrity":"sha512-XFuuxmoPVxM1CAWFItKX1+i5bInK7i0S5ez2orPjSDjzryqKUe4Dpre7KgAkAyGJXMpMxJ8m8ia8T5zCnLm7gw==","shasum":"78e78f47ca93f299307b105588a86f371a60c9dc","tarball":"https://registry.npmjs.org/@aivec/nlp-api-server/-/nlp-api-server-0.0.11.tgz","fileCount":31,"unpackedSize":73828,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGvg5grg7n9gm1rYqcX6pz6c540IzjeQBP1m3Fs9xe2uAiEAtkSIDuyxOIl8BUVSr3lGSVJopRD5gc3l27tzdXOfhqQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJikI9iACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrCTg//aBAtrX4TshVeDdtpysq5C7fRnW4ljpLpws/zWwyyRbKK83lw\r\nLd/tU2eRucPWFnYcRCDpF8FZ2TuoqoRZhkhblQYIIK7Y3X1SpV5QAUpYS+TW\r\nDnrp23g3ZJBj2Wt0LXQ1BvmJQtNNCsm1tZfWFQj7CVpqinOxfxy+jGik8r44\r\n8g+uOoMsysjgf4+9msGjFdpfaHkLD9qFK3IZ6Qe6Pv8NZulwoFseQCPIBHA0\r\nIIKUWGdqUTRl5kVA3mydCM8+l2UwM3tFEEqD881UQh9KVIWl+0ZkqLiIWtRW\r\nnS+AhUdjKDstylfXBmspUhmr9eTWJ9/pzx/Bx+SthWtUUT4oHvsLUdg++Stj\r\nZzYznB/X4JdVEq2shqYrRTYdu4Y3Af7KH8ee8iecEyOWEEXhyB5JZNWV/OzF\r\nwPULx9xokqVGIQs6Z9HEqmnO1yzVO3Yn/vfvXlb+IbKTbFfv6IZqWR/b6U/L\r\nVmoSxlL5LLtlXjBkPhEGepJ5XZyaWH9F1QTMSYKbABRkxFrixZMsNV1dbWtR\r\nOIpRX8RbdiswLylyotKhDjjSudpbWSakblvEWFFE5qwHGGO1TxOEa0XjKtmi\r\nRshPryXiyeBoxzsvffWzDwlcHkOsvO6z75rwa9D596mW+2b50YHAPMl0tXgs\r\nEvlBf21ciQwhbl+jFO3+uFZkkJOtMM0ogoI=\r\n=cECM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"the8thcelljr","email":"evandanielshaw@gmail.com"},"directories":{},"maintainers":[{"name":"the8thcelljr","email":"evandanielshaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nlp-api-server_0.0.11_1653641058671_0.02964040128559886"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-24T06:21:09.711Z","0.0.5":"2022-01-24T06:21:09.925Z","modified":"2022-08-10T11:45:32.147Z","0.0.6":"2022-01-24T06:46:14.123Z","0.0.7":"2022-01-24T06:55:30.021Z","0.0.8":"2022-01-25T05:59:17.622Z","0.0.9":"2022-05-26T05:43:01.356Z","0.0.11":"2022-05-27T08:44:18.842Z"},"maintainers":[{"email":"cloud@aivec.co.jp","name":"aivec-admin"}],"description":"This is the backend REST API for NLP powered by NodeJS and MongoDB","readme":"## NLP API Server\n\nThis is the backend REST API for NLP powered by NodeJS and MongoDB\n\n## The Package (@aivec/nlp-api-server)\n\nThis repo exposes TypeScript types/interfaces and helper modules as an `npm` package. All files in the `./package` folder are included in the tarball when running `npm publish`. **Note that the contents of this package are subject to change at any time.**\n\n### Prerequisites\n\n- node >= 14\n- npm >= 8 *(this is important for ensuring a unified structure in package-lock.json)*\n- docker\n- docker-compose *(usually packaged with Docker)*\n\n### Getting Started\n\nFirst, install packages and start the MongoDB and MailHog Docker containers:\n\n```sh\n$ npm install\n$ npm run start:services\n```\n\n### Developing\n\nEnvironment variables (DB connection strings, etc.) are set using a `.env` file. This file is automatically generated/updated\nwhen running the `node` Docker container.\n\n_Curious about why `.env` isn't version controlled? Refer [here](https://12factor.net/config)._\n\nStart the hot reload dev server with the following:\n\n```sh\n$ npm run dev\n```\n\nTo transpile the TypeScript source and run Node directly (without hot reloading):\n\n```sh\n$ npm run start:node\n```\n\n### Debugging\n\nTo make debugging automatic for vscode users, a `.vscode/launch.json` file is tracked in source control. `Ctrl+Shift+D` should show `Attach to Node (nlp-api-server)` as a selection in the debug environments dropdown. Note that the node server must be already running in order for the debugger to attach to it.\n\n### Testing\n\nRun tests with the `npm` script:\n\n```sh\n$ npm test\n```\n\n#### Debugging Tests\n\nFirst, run Mocha in inspect mode:\n\n```sh\n$ npm run test:debug\n```\n\nMocha will wait for a debugger to attach before running tests. Follow the steps in [`Debugging`](#debugging) to attach the debugger.\n\n### Documentation\n\nDocumentation for REST APIs are written in [API blueprint](https://apiblueprint.org/) format. APIB files live in the `docs` folder and mirror the folder/file structure of `src/api`. In addition to manually adding `.apib` files for individual APIs, a `docs/all.apib` file, containing all apib's can be automatically generated with `npm run docs:generate`.\n\n## Deploying\n\n[serverless framework](https://www.serverless.com/framework) is used to deploy an AWS serverless stack for our REST API (API Gateway -> Lambda + S3 -> DocumentDB). Because serverless applications differ so drastically from traditional server apps, the deployment process looks very different. A general summary of this process is outlined below.\n\nNOTE: currently, none of the deployment commands are run from within docker\n\n### Accounts\n\nThe following `Serverless` and `AWS` accounts are used for all resources:\n| Provider | Account ID (email) | Login URL |\n| -------- | ------------------ | --------- |\n| AWS | `nlp@aivec.co.jp` | https://console.aws.amazon.com/console/home |\n| Serverless Framework | `nlp@aivec.co.jp` | https://app.serverless.com |\n\n### Prerequisites\n\nIn order to deploy, you must login to the `serverless framework` admin account.\n\n```sh\n$ npm run sls:login\n```\n\n### Stages\n\nThere is a `staging` stage and a `prod` stage. These two stages represent completely separate environments. `Serverless` [recommends using separate AWS accounts for different stages](https://www.serverless.com/blog/stages-and-environments). However, currently, the same credentials and provider are used for both deployments/environments. Therefore, you can deploy to either one by simply specifying the stage in the `sls deploy` command like so:\n\n```sh\n$ npm run deploy:staging\n$ npm run deploy:prod\n```\n\n### Environment variables\n\nEnvironment variables are handled on a per-stage basis by use of [AWS SSM Parameters](https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html). The value of these parameters depends on the stage.\n\n### Where is everything?\n\nVarious analytics graphs can be monitored from the [serverless framework dashboard](https://app.serverless.com/aivecnlp).\n\nCloudFormation is what serverless framework leverages in order to automate the deployment process. If you want to see detailed information for specific resources (S3, Lambda, etc.), use the [CloudFormation dashboard](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks?filteringStatus=active&filteringText=&viewNested=true&hideStacks=false).\n","readmeFilename":"README.md","homepage":"https://github.com/aivec/nlp-api-server#readme","repository":{"type":"git","url":"git+https://github.com/aivec/nlp-api-server.git"},"author":{"name":"Evan D. Shaw"},"bugs":{"url":"https://github.com/aivec/nlp-api-server/issues"},"license":"ISC"}