notam-decoder is JavaScript library for parsing and decoding NOTAMs (Notices to Airmen).
Most code was written based on a interpretation of documentation available from ICAO's Aeronautical Information Services Manual and EUROCONTROL's Guidelines Operating Procedures for AIS Dynamic Data (OPADD)
You can read about notice to airmen in the NOTAM article on Wikipedia.
// get decoded notam as json Object
var notam = notamDecoder.decode(input);