iso-639-1-jp
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

iso-639-1-jp

NPM Build Status npm version

言語コードISO-639-1の日本語変換モジュール

Fork元: meikidd/iso-639-1

ドキュメント

Installation

npm i iso-639-1-jp

Usage

Node.js

const ISO6391JP = require('iso-639-1-jp');
console.log(ISO6391JP.getName('en')); // '英語'

Node.js with ES Module

import ISO6391JP from 'iso-639-1-jp';
console.log(ISO6391JP.getName('en')); // '英語'

Browsers

<script type="text/javascript" src="./node_modules/iso-639-1-jp/build/index.js"></script>
console.log(ISO6391JP.getName('en')); // '英語'

Development

Install

npm install

Build

// Webpack build
npm run build

Test

mocha test

Package Sidebar

Install

npm i iso-639-1-jp

Weekly Downloads

1

Version

1.0.10

License

MIT

Unpacked Size

54.4 kB

Total Files

13

Last publish

Collaborators

  • kota-yata