API exemple avec collection MongoDB étudiants
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

267 lines
6.9 KiB

{
"_args": [
[
"mongoose",
"/home/art/Documents/API-REST-Etudiants/api"
]
],
"_from": "mongoose@latest",
"_hasShrinkwrap": false,
"_id": "mongoose@5.9.6",
"_inCache": true,
"_installable": true,
"_location": "/mongoose",
"_nodeVersion": "10.17.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/mongoose_5.9.6_1584996157770_0.08781527253445742"
},
"_npmUser": {
"email": "val@karpov.io",
"name": "vkarpov15"
},
"_npmVersion": "6.11.3",
"_phantomChildren": {},
"_requested": {
"name": "mongoose",
"raw": "mongoose",
"rawSpec": "",
"scope": null,
"spec": "latest",
"type": "tag"
},
"_requiredBy": [
"#USER"
],
"_resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.9.6.tgz",
"_shasum": "47e2e234638eede4caa52d961e3a7459b55530ef",
"_shrinkwrap": null,
"_spec": "mongoose",
"_where": "/home/art/Documents/API-REST-Etudiants/api",
"author": {
"email": "guillermo@learnboost.com",
"name": "Guillermo Rauch"
},
"browser": "./dist/browser.umd.js",
"bugs": {
"url": "https://github.com/Automattic/mongoose/issues/new"
},
"dependencies": {
"bson": "~1.1.1",
"kareem": "2.3.1",
"mongodb": "3.5.5",
"mongoose-legacy-pluralize": "1.0.2",
"mpath": "0.6.0",
"mquery": "3.2.2",
"ms": "2.1.2",
"regexp-clone": "1.0.0",
"safe-buffer": "5.1.2",
"sift": "7.0.1",
"sliced": "1.0.1"
},
"description": "Mongoose MongoDB ODM",
"devDependencies": {
"acquit": "1.x",
"acquit-ignore": "0.1.x",
"acquit-require": "0.1.x",
"async": "2.6.2",
"babel-loader": "7.1.4",
"babel-preset-es2015": "6.24.1",
"benchmark": "2.1.4",
"bluebird": "3.5.5",
"chalk": "2.4.2",
"cheerio": "1.0.0-rc.2",
"co": "4.6.0",
"dox": "0.3.1",
"eslint": "5.16.0",
"eslint-plugin-mocha-no-only": "1.1.0",
"highlight.js": "9.1.0",
"lodash.isequal": "4.5.0",
"lodash.isequalwith": "4.4.0",
"marked": "0.6.2",
"mocha": "5.x",
"moment": "2.x",
"mongodb-topology-manager": "1.0.11",
"mongoose-long": "0.2.1",
"node-static": "0.7.11",
"object-sizeof": "1.3.0",
"promise-debug": "0.1.1",
"pug": "2.0.3",
"q": "1.5.1",
"semver": "5.5.0",
"uuid": "2.0.3",
"uuid-parse": "1.0.0",
"validator": "10.8.0",
"webpack": "4.16.4"
},
"directories": {
"lib": "./lib/mongoose"
},
"dist": {
"fileCount": 202,
"integrity": "sha512-EfFGO2QUoenf/4eFeF5y2R8aBLKHtqwrMk1pVGgl3OyNWufP5XLLPIuihP006YqR1+6xM1YsBzGpgBjMZkINGA==",
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeR8+CRA9TVsSAnZWagAAAHEP+wW4GZai/yHXCg0KUscz\nHCds6YktY3Iux6nf5q7COwcef/sPHcT/ubihDjsGM3jrWk8QpcU/tSD+y1Xb\nQ0iY9KqpnswLMbYxquCyedk6Am+2UFbVHOj4pi/qOIID9K8lfJWOWro6nrRi\nqbq3y35wuzEWTwJgIidG0Ssx9B5+9t3eojTh0A5Aed5/bigPisVnB0DD1BlO\nPrB6BbK+GJoOW1PN0Ub39Z5+YvORAyo2hPTFNN+oqStpLzrGeqoKY8u3JsZr\nf0YPIlx5Cb8NV+15nu+oRWfGl8B8F/EtQa8dlA2Q68w+vVeAAtxWn7e3/qMV\nuDw6cmOJcib/EcznkqX9c0ePmcgdbCtHmM1sW3Yn5bMe5iLie6T+kA2uPfLQ\nkZN1MZRxzhxCnQir+KSyp+2xiaM6+2ecJYqxX9bv373cQKvVFxoMedY9+dsW\nIMZ1CbsHxjygROUWtIROoJ97T1AJRARzKhvEuFYcxegZSGoqw5nvm85SVB3A\n9ypDjIIgm9NCwOVyfreDbE/IbEpT642hmft5eqWp61xRmZEuZ3mKdGmEFtrS\n0ggMtyuTZALZxr7WJiltDklBdswyKzE4bROVOdhCbXVqzJBDC6G7zwXyhcdS\n5c2y6Qxk696SLtA1Ugd2d+LkaySYsE1xeEtkjZhTqcFx0tU98Mfhwy9Pkt44\nzmwV\r\n=QM8n\r\n-----END PGP SIGNATURE-----\r\n",
"shasum": "47e2e234638eede4caa52d961e3a7459b55530ef",
"tarball": "https://registry.npmjs.org/mongoose/-/mongoose-5.9.6.tgz",
"unpackedSize": 1905360
},
"engines": {
"node": ">=4.0.0"
},
"eslintConfig": {
"env": {
"es6": true,
"node": true
},
"extends": [
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": 2015
},
"plugins": [
"mocha-no-only"
],
"rules": {
"array-bracket-spacing": 1,
"comma-dangle": [
2,
"never"
],
"comma-spacing": [
2,
{
"before": false,
"after": true
}
],
"comma-style": "error",
"func-call-spacing": "error",
"indent": [
2,
{
"SwitchCase": 1,
"VariableDeclarator": 2
},
"error"
],
"key-spacing": [
2,
{
"beforeColon": false,
"afterColon": true
}
],
"keyword-spacing": "error",
"mocha-no-only/mocha-no-only": [
"error"
],
"no-buffer-constructor": "warn",
"no-console": "off",
"no-constant-condition": "off",
"no-multi-spaces": "error",
"no-restricted-globals": [
{
"name": "context",
"message": "Don't use Mocha's global context"
},
"error"
],
"no-trailing-spaces": "error",
"no-undef": "error",
"no-unreachable": 2,
"no-var": "warn",
"no-whitespace-before-property": "error",
"object-curly-spacing": [
2,
"always"
],
"prefer-const": "warn",
"quote-props": [
"as-needed",
"error"
],
"quotes": [
"error",
"single"
],
"semi": "error",
"space-before-blocks": "error",
"space-before-function-paren": [
"error",
"never"
],
"space-infix-ops": "error",
"space-unary-ops": "error",
"strict": [
"error",
"global"
]
}
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mongoose"
},
"gitHead": "1883bc086d172a8c79252649c46a8b1ac168b13b",
"homepage": "https://mongoosejs.com",
"keywords": [
"data",
"database",
"datastore",
"db",
"document",
"model",
"mongodb",
"nosql",
"odm",
"orm",
"query",
"schema"
],
"license": "MIT",
"main": "./index.js",
"maintainers": [
{
"name": "aaron",
"email": "aaron.heckmann+github@gmail.com"
},
{
"name": "rauchg",
"email": "rauchg@gmail.com"
},
{
"name": "tjholowaychuk",
"email": "tj@vision-media.ca"
},
{
"name": "vkarpov15",
"email": "val@karpov.io"
}
],
"mocha": {
"extension": [
"test.js"
],
"watch-files": [
"test/**/*.js"
]
},
"name": "mongoose",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git://github.com/Automattic/mongoose.git"
},
"scripts": {
"build-browser": "node build-browser.js",
"lint": "eslint .",
"prepublishOnly": "npm run build-browser",
"release": "git pull && git push origin master --tags && npm publish",
"release-legacy": "git pull origin 4.x && git push origin 4.x --tags && npm publish --tag legacy",
"test": "mocha --exit",
"test-cov": "nyc --reporter=html --reporter=text npm test"
},
"version": "5.9.6"
}