{"_id":"@app-proto/datasources","_rev":"1-356efd620d0f77ce0ba0ee56f26b3e0a","name":"@app-proto/datasources","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"dependencies":{"glob":"^7.1.6","hjson":"^3.2.1","lru-cache":"^5.1.1","mockjs":"^1.1.0","object-hash":"^2.0.0"},"devDependencies":{"jest":"^24.9.0"},"name":"@app-proto/datasources","version":"0.0.1","description":"本地数据源(支持mock\\json\\hjson\\js格式)。","main":"parse.js","repository":{"type":"git","url":"git+ssh://git@github.com/Debbie-Lab/datasources.git"},"author":{"name":"solome","email":"iliyang.cn@gmail.com"},"license":"MIT","private":false,"gitHead":"52ca843a4b2ae18bb19d3eda224938a709ce6e72","bugs":{"url":"https://github.com/Debbie-Lab/datasources/issues"},"homepage":"https://github.com/Debbie-Lab/datasources#readme","_id":"@app-proto/datasources@0.0.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-19978cO6NvAMp5bANdp/w+40Sca5fAy6BIY8Q9/pMAAro7msJvfvYlXDFhN3nYMoiIrB3i1bYXJobgpbuVeuKw==","shasum":"75f418a6246061cbd282f29dc51b5b634d57600a","tarball":"https://registry.npmjs.org/@app-proto/datasources/-/datasources-0.0.1.tgz","fileCount":7,"unpackedSize":29883,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy5dDCRA9TVsSAnZWagAAtyEP/2exDlPiZwUPmTwzB/Il\n4HanHlKxlwlq00QrGleNl2+uD6Ws/ngAcnKantUaECB6FXKP846F/FsPLgvf\nQBXMd2GfWkrM8xyQy7SyNvNm6S9JiWzgzG74Lt1Dp6u0QzX2y6zBKnJ/e920\nHoH2X1ZRx55bwieSfinGBvG/WzWaIaYI/J2gIuCe4MMrHWJjaWKBmqEEfgmC\nDb8fMwGBKCEO+QX7ZBffyP9Nbo+cM9XGTz//PFKcneR8QOhK5RZ6rI59P+A+\nW8pFXbM74OwxZWtAyYzZldubkyCYxdXZMhGw8PPL342JxlzEF+x8xsgOQIoL\nUM5d0VA/zfymJzX3GEWjwqkc8Zi8R2fqJfWs5vybLvg38Bs2gfqnpPtpHFSY\nMJqcxN2bGUgLKUWbVcP1p/Pw48tvm1tOU2gz0cMMh1n3f32A9LTQ0rt8Tt/7\nZvYqdsHPW0Lmq+hU2Kx4xnKkqUQoWUIfp2Nzv3yzi+3WQ1rzAOfFwGIvaMfb\nHxtyshZPsf32/06OhQid27o4A+83hQ7/GEUKwzuSFIXVq0/tI8z5PBRSs8cz\nk+1vftpHpdxxF+M/g0LV6Xn/bncQ5TpXt2oRWpgeGqXA3o8fLsNGlmioKaOQ\nX5IZfzK/LbMXgyP5BfH8sG4ToBHz4h0nEAD89NYREIwF9XbiIGCtb0VhlxEy\nfX+G\r\n=XDcx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD232IyMkxSVXeAOq1sCzEm2eyar1rpjjunilyArdVM6wIgWWwyOJr4eSUYBVJhWvutThaytRb37E7WsoW/WqRB00M="}]},"maintainers":[{"name":"juyipeng","email":"solome@outlook.com"}],"_npmUser":{"name":"juyipeng","email":"solome@outlook.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/datasources_0.0.1_1573623618942_0.06686835871334895"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-13T05:40:18.767Z","0.0.1":"2019-11-13T05:40:19.095Z","modified":"2022-04-04T14:43:11.228Z"},"maintainers":[{"name":"juyipeng","email":"solome@outlook.com"}],"description":"本地数据源(支持mock\\json\\hjson\\js格式)。","homepage":"https://github.com/Debbie-Lab/datasources#readme","repository":{"type":"git","url":"git+ssh://git@github.com/Debbie-Lab/datasources.git"},"author":{"name":"solome","email":"iliyang.cn@gmail.com"},"bugs":{"url":"https://github.com/Debbie-Lab/datasources/issues"},"license":"MIT","readme":"\n\n## @app-proto/datasources\n\n> 提供本地数据源解析能力：自动解析某个目录下所有满足\".js|.json|.hjson\"格式文件的数据信息。\n\n\n### Usage\n\n```\nyarn add @app-proto/datasources\n\nconst $ds = require('@app-proto/datasources')(__datasources__path__)\n\n# async\nconst data = await $ds('__file_path__', {})\n\n```\n","readmeFilename":"README.md"}