{"_id":"@airport-discovery/notams","_rev":"1-c91d32d13c611fe68fc0b5e316c83fcb","name":"@airport-discovery/notams","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@airport-discovery/notams","version":"1.0.0","description":"Get Latest NOTAMs (Notices to Airmen) from notams.aim.faa.gov","main":"index.js","scripts":{"lint":"eslint --ext .js --ext .jsx index.js","prepush":"yarn run lint","release-patch":"yarn version --patch","release-minor":"yarn version --minor","release-major":"yarn version --major"},"repository":{"type":"git","url":"git+https://github.com/Airport-Discovery/notams.git"},"author":{"name":"Airport Discovery","email":"hello@airportdiscovery.com","url":"https://github.com/Airport-Discovery"},"license":"MIT","bugs":{"url":"https://github.com/Airport-Discovery/notams/issues"},"homepage":"https://github.com/Airport-Discovery/notams#readme","devDependencies":{"eslint":"^6.6.0","eslint-config-airbnb":"17.1.1","eslint-config-prettier":"^6.0.0","eslint-plugin-import":"^2.18.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"^7.14.2","husky":"^3.0.2","prettier":"^1.18.2"},"husky":{"hooks":{"pre-push":"yarn run prepush"}},"dependencies":{"axios":"^0.21.0"},"gitHead":"961e2322d50f7d153a4f12c9a1162b52f97810b5","_id":"@airport-discovery/notams@1.0.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-o03vzI40SQxHt3nBXpBFayVROLT++SrROd9q+y3z+dEEKLA9i/tXLsr7ehJF4C6X0T/gtK6NMzIYQTlJ0njnlw==","shasum":"db2f483d6941a7bee1371f36e5226538fd368381","tarball":"https://registry.npmjs.org/@airport-discovery/notams/-/notams-1.0.0.tgz","fileCount":5,"unpackedSize":4953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf13LPCRA9TVsSAnZWagAAFGYP/1bNzdtAYUqOsvX3stTY\nUzlhYZYKv6tgBEA7mqFFWWbspCklzhXKPqA17kF33QpciWuQ0FYfJ8VPhWRn\nugzdeRc0cdNZnqApp9VVguesSEdg27pL8fzcT4t2BtL1KyLVQwn1DlolLcvS\nTnwVKFBs5aPBquQYAonLV+bPN6Vk35MfemhEA1lrfKvoPNWtH0VmonZHyN27\nCZnM9w7sm08laeA3v3nBrlz1MC2jPdm9D6vCltoYSGxnNPiJPfow/7S59CgZ\ntZSqi4sdEa0RtZ02yzDUd+EZlfkFHW+/PDP8uxciiUKpfApRr7iUsDXa12Qi\nh7Pvb1IhXe0WZCDpg3FrGCGmzW9ZHB+2aEDxY+7OWxZlUzQm8yP/jQzRV2i7\nKRSGoDJTfKq49G0KGvbUTUGAGLaLdDlqYhQRbkl4Af4cttYYPGYGoclEh+kb\naUW/Gd3dXEJESLhY+Gu4OAVB3I3XrbS7RDPiIRsGCPJneJGWUongheUZX0Jf\nMj1zyUWJp+aOtTH2LMvJE3r8fG8uvITyiE+vJ66LzLSd+kFTPcoRccmgXzA4\nBRu2QYPIeRtCgMZ0HPKkipmQpF26rRyqPdgviScKOWLrGwwD4Y6ZkXBRzbwW\nXwsChO9n6UiFceCPuu9JdZGmObtrl7EnpFjYWWgtUNQ5q1i/NUKl772lw0Un\npD3s\r\n=V3qp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG2zTtW40yKesZY59DqWvodMEJadNYT4SdeZ5XXGphoMAiB52j1UOiVUrybWx7zVOAAFECq8kYzsh9GZldpKUVz9lQ=="}]},"_npmUser":{"name":"hatemalimam","email":"me@hatemalimam.com"},"directories":{},"maintainers":[{"name":"hatemalimam","email":"me@hatemalimam.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/notams_1.0.0_1607955150571_0.44701648107980296"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-14T14:12:30.356Z","1.0.0":"2020-12-14T14:12:30.720Z","modified":"2022-04-04T12:23:06.892Z"},"maintainers":[{"name":"hatemalimam","email":"me@hatemalimam.com"}],"description":"Get Latest NOTAMs (Notices to Airmen) from notams.aim.faa.gov","homepage":"https://github.com/Airport-Discovery/notams#readme","repository":{"type":"git","url":"git+https://github.com/Airport-Discovery/notams.git"},"author":{"name":"Airport Discovery","email":"hello@airportdiscovery.com","url":"https://github.com/Airport-Discovery"},"bugs":{"url":"https://github.com/Airport-Discovery/notams/issues"},"license":"MIT","readme":"# notams\n\nGet latest NOTAMs (Notices to Airmen) from notams.aim.faa.gov\n\n## Installation\n\n```\nyarn add @airport-discovery/notams\n```\n\n## Usage\n\nThe module exposes a single function, which accepts an ICAO string or an array string of ICAOs\n\n```javascript\nconst notams = require('@airport-discovery/notams');\nconst notamsResponse = await notams('LIMC'); // ICAO for Malpensa Airport (MXP)\n```\n\nOr multiple ICAO codes\n\n```javascript\nconst notams = require('@airport-discovery/notams');\nconst notamsResponse = await notams(['LIMC', 'LTFM']);\n```\n\n## Output\n\nThe response is mainly made of the following:\n\n- notamList: `array`\n- totalNotamCount: `number`\n- countsByType: `array`\n\n### `notamList`\n\neach `notam` has the following structure:\n\n```json\n{\n  \"facilityDesignator\": \"LIMC\",\n  \"notamNumber\": \"M4645/20\",\n  \"featureName\": \"Military\",\n  \"issueDate\": \"09/21/2020 1104\",\n  \"startDate\": \"09/21/2020 1104\",\n  \"endDate\": \"PERM\",\n  \"source\": \"USNS\",\n  \"sourceType\": \"M\",\n  \"icaoMessage\": \"M4645/20 NOTAMN\\nQ) LIMM/QPIXX/I/NBO/A/000/999/4537N00843E005\\nA) LIMC B) 2009211104 C) PERM\\nE) REF FLIP CENTRAL AND NORTHERN ITALY\\nAD LIMC 1-4 &apos;ILS OR LOC-Z RWY17L&apos;\\nBOX OCA/OCH MINIMUM\\nROW STRAIGHT IN APPROACH &apos;ILS CAT I&apos; CHG AS FLW:\\nCAT A/B/C/D: 945 - 200 (200 - 0.8) ALS INOP (200- 1.2)\\nROW STRAIGHT IN APPROACH &apos;LOC + DME&apos; CHG AS FLW:\\nCAT A/B/C/D: 1300 - 555 (600 -1.8) ALS INOP (600 -2.5)\\nROW CIRCLING CHG AS FLW:\\nCAT A/B: 1450-682 (700 - 3.2)\\nCAT C: 1650 - 882 (900- 4.0)\\nCAT D: 1710 - 942 (1000 - 4.3\",\n  \"traditionalMessage\": \" \",\n  \"plainLanguageMessage\": \" \",\n  \"traditionalMessageFrom4thWord\": \"REF FLIP CENTRAL AND NORTHERN ITALY\\nAD LIMC 1-4 'ILS OR LOC-Z RWY17L'\\nBOX OCA/OCH MINIMUM\\nROW STRAIGHT IN APPROACH 'ILS CAT I' CHG AS FLW:\\nCAT A/B/C/D: 945 - 200 (200 - 0.8) ALS IN...\",\n  \"icaoId\": \"LIMC\",\n  \"accountId\": \"2214\",\n  \"airportName\": \"MALPENSA\",\n  \"procedure\": false,\n  \"userID\": 0,\n  \"transactionID\": 57971869,\n  \"cancelledOrExpired\": false,\n  \"digitalTppLink\": false,\n  \"status\": \"Active\",\n  \"contractionsExpandedForPlainLanguage\": false,\n  \"keyword\": \"MILITARY\",\n  \"snowtam\": false,\n  \"geometry\": \"POINT(5141757.64052187 5157117.03465919)\",\n  \"digitallyTransformed\": false,\n  \"messageDisplayed\": \"concise\",\n  \"hasHistory\": false,\n  \"moreThan300Chars\": false,\n  \"showingFullText\": false,\n  \"locID\": 352406,\n  \"defaultIcao\": false,\n  \"crossoverTransactionID\": 0,\n  \"crossoverAccountID\": \"\",\n  \"mapPointer\": \"POINT(8.72811100000002 45.630606)\",\n  \"requestID\": 0\n}\n```\n\n### `countsByType`\n\n```json\n[\n  {\n    \"name\": \"CONSTRUCTION\",\n    \"value\": 0\n  },\n  {\n    \"name\": \"RNAV\",\n    \"value\": 0\n  },\n  {\n    \"name\": \"GPS\",\n    \"value\": 0\n  },\n  {\n    \"name\": \"Ending this month\",\n    \"value\": 9\n  },\n  {\n    \"name\": \"LTA\",\n    \"value\": 0\n  },\n  {\n    \"name\": \"TFR\",\n    \"value\": 0\n  },\n  {\n    \"name\": \"CARF\",\n    \"value\": 0\n  }\n]\n```\n\n## License\n\nMIT ©\n","readmeFilename":"README.MD"}