1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-python synced 2025-06-09 12:52:20 +02:00

Initial pass

This commit is contained in:
Danny McCormick 2019-06-26 21:12:00 -04:00
commit 39c08a0eaa
7242 changed files with 1886006 additions and 0 deletions

23
node_modules/lcid/index.js generated vendored Normal file
View file

@ -0,0 +1,23 @@
'use strict';
const invertKv = require('invert-kv');
const all = require('./lcid.json');
const inverted = invertKv(all);
exports.from = lcidCode => {
if (typeof lcidCode !== 'number') {
throw new TypeError('Expected a number');
}
return inverted[lcidCode];
};
exports.to = localeId => {
if (typeof localeId !== 'string') {
throw new TypeError('Expected a string');
}
return all[localeId];
};
exports.all = all;