diff options
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/iso-639-3/readme.md')
-rw-r--r-- | bin/wiki/ImportarDesdeURL/node_modules/iso-639-3/readme.md | 175 |
1 files changed, 175 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/iso-639-3/readme.md b/bin/wiki/ImportarDesdeURL/node_modules/iso-639-3/readme.md new file mode 100644 index 00000000..d76e59a4 --- /dev/null +++ b/bin/wiki/ImportarDesdeURL/node_modules/iso-639-3/readme.md @@ -0,0 +1,175 @@ +# iso-639-3 + +[![Build][build-badge]][build] +[![Downloads][downloads-badge]][downloads] +[![Size][size-badge]][size] + +[ISO 639-3][iso] codes in an accessible format, all of them. + +## Installation + +[npm][]: + +```bash +npm install iso-639-3 +``` + +## Usage + +```javascript +var iso6393 = require('iso-639-3') + +console.log(iso6393.slice(1822, 1827)) +``` + +Yields: + +```javascript +[ { name: 'Ende', + type: 'living', + scope: 'individual', + iso6393: 'end', + iso6392B: null, + iso6392T: null, + iso6391: null }, + { name: 'Forest Enets', + type: 'living', + scope: 'individual', + iso6393: 'enf', + iso6392B: null, + iso6392T: null, + iso6391: null }, + { name: 'English', + type: 'living', + scope: 'individual', + iso6393: 'eng', + iso6392B: 'eng', + iso6392T: 'eng', + iso6391: 'en' }, + { name: 'Tundra Enets', + type: 'living', + scope: 'individual', + iso6393: 'enh', + iso6392B: null, + iso6392T: null, + iso6391: null }, + { name: 'Enlhet', + type: 'living', + scope: 'individual', + iso6393: 'enl', + iso6392B: null, + iso6392T: null, + iso6391: null } ] +``` + +## API + +### `iso6393` + +`Array.<Language>` — List of languages. + +### `Language` + +`Object`: + +###### `name` + +Language name (`string`). + +###### `type` + +Language type ([`Type`][type]). + +###### `type` + +Language scope ([`Scope`][scope]) + +###### `iso6392B` + +Bibliographic ISO 639-2 code, if available (`string?`). + +###### `iso6392T` + +Terminological ISO 639-2 code, if available (`string?`). + +###### `iso6391` + +ISO 639-1 code, if available (`string?`). + +## `Type` + +`string`, one of the following: + +###### `'living'` + +Still spoken languages (example: `nhi` for `Zacatlán-Ahuacatlán-Tepetzintla +Nahuatl`). + +###### `'historical'` + +Distinct from any modern languages that are descended from it (example: `ofs` +for `Old Frisian`). + +###### `'extinct'` + +Language that went extinct in recent time (example: `rbp` for `Barababaraba`). + +###### `'ancient'` + +Language that went extinct in ancient times (example: `got` for `Gothic`). + +###### `'constructed'` + +Artificial languages, but not programming languages (example: `epo` for +`Esperanto`). + +###### `'special'` + +Non-language codes (example: `und` for `Undetermined`). + +## `Scope` + +`string`, one of the following: + +###### `'special'` + +Non-language codes (example: `und` for `Undetermined`). + +###### `'macrolanguage'` + +One-to-many grouping of languages, because older ISO 639s included them +(example: `ara` for `Arabic`). + +###### `'language'` + +Normal, single language (example: `eng` for `English`). + +## License + +[MIT][license] © [Titus Wormer][author] + +<!-- Definition --> + +[build-badge]: https://img.shields.io/travis/wooorm/iso-639-3.svg + +[build]: https://travis-ci.org/wooorm/iso-639-3 + +[downloads-badge]: https://img.shields.io/npm/dm/iso-639-3.svg + +[downloads]: https://www.npmjs.com/package/iso-639-3 + +[size-badge]: https://img.shields.io/bundlephobia/minzip/iso-639-3.svg + +[size]: https://bundlephobia.com/result?p=iso-639-3 + +[npm]: https://docs.npmjs.com/cli/install + +[license]: license + +[author]: https://wooorm.com + +[iso]: https://iso639-3.sil.org + +[type]: #type + +[scope]: #scope |