{"library":"acc-lang-parser","type":"library","category":null,"description":"A simple parser for HTTP Accept-Language headers in Node.js. Version 1.0.4 (last released in 2016) extracts the first language or all language ranges from a header string. Returns objects with 'language' and 'locale' fields. Unlike more modern alternatives like 'accept-language-parser', this package has limited features, no TypeScript support, and is unmaintained. It was originally published under the npm name 'parse-acc-lang' (now deprecated) and later republished as 'acc-lang-parser'.","language":"javascript","status":"maintenance","version":"1.0.4","tags":["javascript","http","accept-language","parser","nodejs"],"last_verified":"Wed May 27","install":[{"cmd":"npm install acc-lang-parser","imports":["const parser = require('parse-acc-lang');","const result = parser.extractFirstLang('de-DE');","const results = parser.extractAllLangs('de-DE, en-GB');"]},{"cmd":"yarn add acc-lang-parser","imports":[]},{"cmd":"pnpm add acc-lang-parser","imports":[]}],"homepage":null,"github":"https://github.com/adcloud/acc-lang-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/acc-lang-parser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/acc-lang-parser/compatibility"}}