@ifct2017/languages

Full form of language abbreviations.

Stats

StarsIssuesVersionUpdatedCreatedSize
@ifct2017/languages
002.0.46 months ago4 years agoMinified + gzip package size for @ifct2017/languages in KB

Readme

Full form of language abbreviations.

This is part of package ifct2017.
Online database: ifct2017.github.io.


const languages = require('@ifct2017/languages');
// languages(query)
// → {abbr, lang} if found, null otherwise.


languages('mal.');
languages('Mal');
// { abbr: 'Mal.', lang: 'Malayalam' }

languages('what is s.?');
languages('S. stands for?');
// { abbr: 'S.', lang: 'Sanskrit' }


// Note:
// Full stops must immediately follow character, if present.
// For single character abbreviations, full stop is mandatory.
// Additional methods:
languages.load() // → corpus
languages.sql([table], [options]) // → sql statements
languages.csv() // → path of csv file


Data was obtained from the book Indian Food Composition Tables 2017.
Food composition values were measured by National Institute of Nutrition, Hyderabad.
Take a peek at the raw data here: Document, Webpage.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.