Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 630 Bytes

README.md

File metadata and controls

31 lines (26 loc) · 630 Bytes

accettare


simple accept-language parser.

Installation:

npm install accettare --save

Usage:

const accettare = require('accettare');
accettare.languages(['en-US', 'zh-CN']);
console.log(accettare.get('en-GB,en;q=0.8,sv'));

/**
 * 'en-US'
 */

LICENSE

The MIT License. See LICENSE.