{"_id":"@airemad/node-acustic","_rev":"2-2664cf798b1d77ea0f85f34608c5c28e","name":"@airemad/node-acustic","dist-tags":{"latest":"1.0.1"},"versions":{"0.1.1":{"name":"@airemad/node-acustic","version":"0.1.1","description":"Node.js Libary to collect, analyze and digest the Acustic Pollution in Madrid","main":"src/index.js","source":"src/index.js","scripts":{"test":"FORCE_COLOR=3 jest  --verbose","test:update":"FORCE_COLOR=3 jest --verbose --u","test:coverage":"FORCE_COLOR=3 jest --verbose  --coverage","test:watch":"FORCE_COLOR=3 jest --verbose  --watchAll","lint":"standard","lint:fix":"standard --fix","release":"standard-version","release:minor":"standard-version --release-as minor","release:patch":"standard-version --release-as patch","release:major":"standard-version --release-as major"},"standard":{"env":["jest"]},"engines":{"node":">=14.0.0"},"husky":{"hooks":{"pre-commit":"npm run lint","pre-push":"npm run lint && npm run test:coverage","post-merge":"npm i && npm i --package-lock-only"}},"repository":{"type":"git","url":"git+https://github.com/airemad/node-acustic.git"},"keywords":["Air quality","Madrid"],"author":{"name":"Ulises Gascón","url":"https://github.com/ulisesGascon"},"license":"AGPL-3.0","bugs":{"url":"https://github.com/airemad/node-acustic/issues"},"homepage":"https://github.com/airemad/node-acustic#readme","devDependencies":{"@commitlint/cli":"16.2.4","@commitlint/config-conventional":"16.2.4","husky":"7.0.4","jest":"28.0.3","jest-config":"28.0.3","standard":"17.0.0","standard-version":"9.3.2"},"gitHead":"875d5a4e1fcb1ab2307a492962efb48d26f228d8","_id":"@airemad/node-acustic@0.1.1","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"integrity":"sha512-VOBjQs1XS9BkjYBmPnk4AbrdEgwnsy/sDO1LWQElo4br3H+DqXbLOBbn/e5FOtmgwGLCBFsVWK8bT88qbKuLNw==","shasum":"26a4b43ab21a6274f4c7fd5dfe8e35f4c66e54ac","tarball":"https://registry.npmjs.org/@airemad/node-acustic/-/node-acustic-0.1.1.tgz","fileCount":5,"unpackedSize":38857,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWdKuiQZcM6eptT76Zleef/7R1WhFTmmdEQhngkJrcCAIgLswCkljl7JNJT726vFp+keZr5tMdkQygu0Y1fGSlsxs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibDXLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpB0A/+OJaFIh3k/BwgUTfj+zIjHkVxOa/a2Y5lizOH6010Ee5KQAMi\r\nReUsOh8OMXbMrNEaNu9rknJDQ+1n3iRz5qEwzd3XHZMtotKh5KNY0LySDekx\r\nxfmZui9fO0SIom2x9AYopB6if3r+PrVtP1VGbi1om/Vtk8Jl1tJG5LgEmm17\r\nddTLRRJqb0K1uUN/O+wpOujyBM+M+04ZfDvRqMU6F91WE7Pr9vYZ8aKIqTtZ\r\nb1ig6JPs/9L9+zi+gRqO2hMrsh3BEoO3ZZCtaNKePGEfnGB7jK1lIDsgayEa\r\nxmq3eX9MjpVpBO/0C9Mb4jGV9RIjXjv6NRLvASKPvNHubufESRTWJkpXrLGu\r\nx5dcrtJFnWiPK9pF4qbtb9EGH8zOnrdjkrxWTSPguqMKhHS70nHUysFybPf1\r\nwL1o9FbuGDNDPiFAjN0nv1s25Aa1z3DwV9anoDdAv/tsL/FTvAGoozmSWjqC\r\nxH30JKQOWa8zBuzL9cjTzvYs08XOs7c/yg9+UGTGAq6eU+yo1FXZ6//elVX7\r\nGUa5YbnpYxfuVtih2L1rxnblZy+6LsJOeWPsksySaUsBh6iSmUWqARmGPvos\r\nB+3A+ukbNt14PSxC/F442KKSBhzr04QyeTAPNiHEPRytITGa4oq6axknpnl6\r\nx/dV20Mr3mGDzMT4NAhgh7g0zvrwMtCEZPA=\r\n=Wb9M\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ulisesgascon","email":"ulisesgascondev@gmail.com"},"directories":{},"maintainers":[{"name":"ulisesgascon","email":"ulisesgascondev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-acustic_0.1.1_1651258826947_0.10707070249109596"},"_hasShrinkwrap":false},"1.0.0":{"name":"@airemad/node-acustic","version":"1.0.0","description":"Node.js Libary to collect, analyze and digest the Acustic Pollution in Madrid","main":"src/index.js","source":"src/index.js","scripts":{"test":"FORCE_COLOR=3 jest  --verbose","test:update":"FORCE_COLOR=3 jest --verbose --u","test:coverage":"FORCE_COLOR=3 jest --verbose  --coverage","test:watch":"FORCE_COLOR=3 jest --verbose  --watchAll","lint":"standard","lint:fix":"standard --fix","release":"standard-version","release:minor":"standard-version --release-as minor","release:patch":"standard-version --release-as patch","release:major":"standard-version --release-as major"},"standard":{"env":["jest"]},"engines":{"node":">=14.0.0"},"husky":{"hooks":{"pre-commit":"npm run lint","pre-push":"npm run lint && npm run test:coverage","post-merge":"npm i && npm i --package-lock-only"}},"repository":{"type":"git","url":"git+https://github.com/airemad/node-acustic.git"},"keywords":["Air quality","Madrid"],"author":{"name":"Ulises Gascón","url":"https://github.com/ulisesGascon"},"license":"AGPL-3.0","bugs":{"url":"https://github.com/airemad/node-acustic/issues"},"homepage":"https://github.com/airemad/node-acustic#readme","devDependencies":{"@commitlint/cli":"16.2.4","@commitlint/config-conventional":"16.2.4","husky":"7.0.4","jest":"28.0.3","jest-config":"28.0.3","standard":"17.0.0","standard-version":"9.3.2"},"dependencies":{"@airemad/stations":"1.1.0","ajv":"8.11.0","ajv-formats":"2.1.1","debug":"4.3.4","node-fetch":"2.6.7"},"gitHead":"882cf6bfb49b96e0a6c065d6d37b8f3d89406033","_id":"@airemad/node-acustic@1.0.0","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"integrity":"sha512-TQOwlzV/uAiAoL8qq3EYzY3+sRHLZGanLXilN7zf+QQm8s2XQxFm89nrR5LZadwO+altiBDazvr1w0x8onnRRQ==","shasum":"7cdd9d7be29b96dd7a00165c1bc8fc6dd5f7be28","tarball":"https://registry.npmjs.org/@airemad/node-acustic/-/node-acustic-1.0.0.tgz","fileCount":12,"unpackedSize":52271,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8Zmo+YnOF0UBiOhNQ81HpEfWhbe4jNWomPtmITL/aIwIgO1QcY8Vpak+PzjqIs3XbQjCdMjpuWVol7ImdK2DeqQA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibWfUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmog+xAAic7d5EJR6daKPpPgUbZFBGRknh8i7ZCNfMH49LJPu7IROWgb\r\nLW75jfFb5v7fpFY91gcPorVSNLVvAgtxCNw8eWo5jX7yMkrtyo8YrBO+Ktms\r\ntq1dvz85thYzYhcnhKKHa98yiXmhZvahhSz9T/YH7Uw8eC+kUFTF++l3CCg5\r\n3TK5OfyJECef0krbclzMCZ/8lVr4IF5tYKOiva0KkL51doBsVgNxQLp0RJB5\r\nj0OUcB2AaFPxR86C5TSeYehzDHT9NU7qUWMtlmefm0kB/dg3DEyC2gkUkvAy\r\nqni/AKf3SNG4XsN4GEdu82x2LIoGob2Y0bBNQFPB4KTgvhMHVabOitCkYjvT\r\n4uopFOeawLZJtrKtLl00HlRciVUpGU1WOtMmIO5rDKUdZrP0iJTsQgt63cFR\r\nysTZWgN8PpKTS1hNTMwYMofJGL5QpK8BH/igegem+SW++e+K/46CUGokaSSQ\r\nHY+DCboooddfR+eJNITaky1BnSTDH+DFsH5Bz0mNyXJOAhI55Rg8ZPCbr7Tb\r\nD/q3h/7WTp85tVAM/ofs351lse8czrvyHhFoqSKYJBFOge0jvRixI6tq/34M\r\n4EEHf/W4D9t5kIqFa7OmRbSu0TKnQcxbczswcYELeC6dsp6E0IV87mx3ROBw\r\nGORUrfG+qHCHkQve+lC3NYFo7+tSUKFUeHo=\r\n=ZMlu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ulisesgascon","email":"ulisesgascondev@gmail.com"},"directories":{},"maintainers":[{"name":"ulisesgascon","email":"ulisesgascondev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-acustic_1.0.0_1651337172564_0.8710654609153732"},"_hasShrinkwrap":false},"1.0.1":{"name":"@airemad/node-acustic","version":"1.0.1","description":"Node.js Libary to collect, analyze and digest the Acustic Pollution in Madrid","main":"src/index.js","source":"src/index.js","scripts":{"test":"FORCE_COLOR=3 jest  --verbose","test:update":"FORCE_COLOR=3 jest --verbose --u","test:coverage":"FORCE_COLOR=3 jest --verbose  --coverage","test:watch":"FORCE_COLOR=3 jest --verbose  --watchAll","lint":"standard","lint:fix":"standard --fix","release":"standard-version","release:minor":"standard-version --release-as minor","release:patch":"standard-version --release-as patch","release:major":"standard-version --release-as major"},"standard":{"env":["jest"]},"engines":{"node":">=14.0.0"},"husky":{"hooks":{"pre-commit":"npm run lint","pre-push":"npm run lint && npm run test:coverage","post-merge":"npm i && npm i --package-lock-only"}},"repository":{"type":"git","url":"git+https://github.com/airemad/node-acustic.git"},"keywords":["Air quality","Madrid"],"author":{"name":"Ulises Gascón","url":"https://github.com/ulisesGascon"},"license":"AGPL-3.0","bugs":{"url":"https://github.com/airemad/node-acustic/issues"},"homepage":"https://github.com/airemad/node-acustic#readme","devDependencies":{"@commitlint/cli":"16.2.4","@commitlint/config-conventional":"16.2.4","husky":"7.0.4","jest":"28.0.3","jest-config":"28.0.3","standard":"17.0.0","standard-version":"9.3.2"},"dependencies":{"@airemad/stations":"1.1.0","ajv":"8.11.0","ajv-formats":"2.1.1","debug":"4.3.4","node-fetch":"2.6.7"},"gitHead":"9d704b11a2bb9081f25dc402526301aff352cb88","_id":"@airemad/node-acustic@1.0.1","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"integrity":"sha512-kibomIGTr4EKpsbshZeGsg9Z6T4sM+khn2YotC2RFQmOH6YIO5BR8ExZXzP5JgE5j1iW2cRTCUPrCkyufgL07A==","shasum":"6903b68b9fc23aa25fe17decad32ff612d12146a","tarball":"https://registry.npmjs.org/@airemad/node-acustic/-/node-acustic-1.0.1.tgz","fileCount":11,"unpackedSize":51826,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICHmqSbOzI+mT6VTnx+hb3MreX83CY7ZojWk/HbN/wklAiEAyQrcIsqRKdmgV1E7U6C8Z/WjA8kUdEx+HX/37RE/3m0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibWiuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqtog/+NeMReLi1fpuydbPp3rKm6ii8fx7WMcxvvjiL7vRQtPN+Q4B2\r\nRgc6X1CPhnPFQNqalxkihSUng+HLWqYwh5u1fviFIfi5JOmE0ajnhwHbSAog\r\nL76XiEkUPo6v43J6XR5qfpVakvwon4NgPM1TpWLy1aIa2U4IhT2GLDrL4co6\r\nqDvmsYIhPkdqgvBoOf0q2oKUTFzlP2evREepV6KS/zfHFyiRS6nZTBnsSW9W\r\n9MDMuYG9rrjjoJsg3pCu0Ytx/hulTuR6mPUFQfQ5BdMYAj5ySOk3fG7rVXqv\r\nvW8O1/TzJt3lCOuKwmRsM6SEoUBuwxGRoPwukXiWqXFD/CHQz4ySHbJIV5hm\r\nvRJ3Vw0/FDYe8Xkn5X7ZdVy0qBTV+fa3t1cnmgUlLTYpSUQ0Z6uOgOVoq6nx\r\nxElAp2alHhCVeqGY10Cv+r+UWcPYmRGqIg9J22obht8jdIYfXbt+ias6DOf8\r\nOPSNcugGGM2DyQPgUd2CR1bhweKYlVyeN0v00Qs+S6RBnD+frjC6aBJkfHsV\r\ntCGyRwsM9Rf61f9g8ePtoBDRrj+LN7NsWdCsrAcj7afYsyqSLUn7Adi8JK0s\r\ntbtpBTgmUYJ5JAeGcTVo8Dcx9SeOzdOEyLwcsnWHKXWEDAbIhrmGnwkf9qKV\r\nVe++RpB6Px3H2qQcvD+XM0ERKLdiG0VKkKY=\r\n=g6ON\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ulisesgascon","email":"ulisesgascondev@gmail.com"},"directories":{},"maintainers":[{"name":"ulisesgascon","email":"ulisesgascondev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-acustic_1.0.1_1651337390840_0.2002252467920076"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-29T19:00:26.887Z","0.1.1":"2022-04-29T19:00:27.127Z","modified":"2022-04-30T16:49:51.057Z","1.0.0":"2022-04-30T16:46:12.744Z","1.0.1":"2022-04-30T16:49:50.962Z"},"maintainers":[{"name":"ulisesgascon","email":"ulisesgascondev@gmail.com"}],"description":"Node.js Libary to collect, analyze and digest the Acustic Pollution in Madrid","homepage":"https://github.com/airemad/node-acustic#readme","keywords":["Air quality","Madrid"],"repository":{"type":"git","url":"git+https://github.com/airemad/node-acustic.git"},"author":{"name":"Ulises Gascón","url":"https://github.com/ulisesGascon"},"bugs":{"url":"https://github.com/airemad/node-acustic/issues"},"license":"AGPL-3.0","readme":"<p align=\"center\"><h1 align=\"center\">\n  @airemad/node-acustic\n</h1>\n\n<p align=\"center\">\n  Node.js Libary to collect, analyze and digest the Acustic Pollution in Madrid\n</p>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.org/package/@airemad/node-acustic\"><img src=\"https://badgen.net/npm/v/@airemad/node-acustic\" alt=\"npm version\"/></a>\n  <a href=\"https://www.npmjs.org/package/@airemad/node-acustic\"><img src=\"https://badgen.net/npm/license/@airemad/node-acustic\" alt=\"license\"/></a>\n  <a href=\"https://www.npmjs.org/package/@airemad/node-acustic\"><img src=\"https://badgen.net/npm/dt/@airemad/node-acustic\" alt=\"downloads\"/></a>\n  <a href=\"https://snyk.io/test/github/airemad/node-acustic\"><img src=\"https://snyk.io/test/github/airemad/node-acustic/badge.svg\" alt=\"Known Vulnerabilities\"/></a>\n</p>\n\n\n# About\n\nNode.js Libary to collect, analyze and digest the Acustic Pollution in Madrid\n\n## ❤️ Awesome Features:\n- debug is supported 💪\n- Out of the box simple Interface. 🔥\n- Check report integrity against Json Schemas 🧐\n- Includes context info like hash, timestamp, source... 🥷\n- Easy to use and great test coverage ✅\n\n## Installation\n\n```bash\nnpm install @airemad/node-acustic\n```\n\n## Usage\n\n```js\nconst { getLastReport } = require('@airemad/node-acustic')\n\n;(async () => {\n    const {data, hash, source, timestamp} = await getLastReport()\n    console.log(hash)      // 1369f90ec7205649da9abbbc98f63e35\n    console.log(source)    // https://www.mambiente.madrid.es/opendata/ruido.txt\n    console.log(timestamp) // 1651271749972\n    console.log(data)\n/*\n[\n    ...,\n    {\n        id: '86',\n        uuid: '271a6e0a-9d62-49cd-a772-57c1b492441f',\n        name: 'Tres Olivos',\n        period: 'night',\n        date: '2022-04-21',\n        laeq: 47,\n        las01: 58,\n        las10: 51,\n        las50: 39,\n        las90: 36,\n        las99: 36\n    }\n]\n*/\n\n})()\n```\n\n## Built With\n\nDevelopment only:\n\n- [Standard](https://www.npmjs.com/package/standard) - Linting propuses\n- [Husky](https://www.npmjs.com/package/husky) - Git Hooks\n- [Commitlint](https://www.npmjs.com/package/@commitlint/cli) - Linting commit messages\n- [Jest](https://www.npmjs.com/package/jest) - Testing\n- [Standard](https://www.npmjs.com/package/standard) - Linting\n- [Standard-version](https://www.npmjs.com/package/standard-version) - Manage changelog and releases\n\nProduction only:\n\n- [@airemad/stations](https://www.npmjs.com/package/@airemad/stations) - Stations information\n- [node-fetch](https://www.npmjs.com/package/node-fetch) - HTTP Library to download reports\n- [debug](https://www.npmjs.com/package/debug) - Manage debugging info\n- [ajv](https://www.npmjs.com/package/ajv) - Json Schemas\n- [ajv-formats](https://www.npmjs.com/package/ajv-formats) - Extend Json Schemas\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/airemad/node-acustic/tags).\n\n## Authors\n\n- **Ulises Gascón** - Initial work- - [@ulisesGascon](https://github.com/ulisesGascon)\n\nSee also the list of [contributors](https://github.com/airemad/node-acustic/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the GNU AGPL3.0 License - see the [LICENSE.md](LICENSE.md) file for details\n\n## Data sources\n\nWe use [Madrid Datos Abiertos](https://datos.madrid.es/portal/site/egob):\n- [Dataset: Contaminación acústica. Datos diarios](https://datos.madrid.es/sites/v/index.jsp?vgnextoid=b8c427a272e4e410VgnVCM2000000c205a0aRCRD&vgnextchannel=374512b9ace9f310VgnVCM100000171f5a0aRCRD)\n\n","readmeFilename":"README.md"}