JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q37941F
  • License MIT

Full form of language abbreviations.

Package Exports

  • @ifct2017/languages
  • @ifct2017/languages/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ifct2017/languages) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Full form of language abbreviations.
📦 Node.js, 📜 Files.

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



ORG DOI

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.