Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kitten-format

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kitten-format - npm Package Compare versions

Comparing version 1.6.1 to 1.6.3

.gitkeep

22

locales/de-CH.js

@@ -1,21 +0,1 @@

import kittenFormat from 'kitten-format'
var locale = {
locale : 'de-CH',
currency : 'CHF',
precision : 2,
unitPrefixes : {
15 : 'P',
12 : 'T',
9 : 'G',
6 : 'M',
3 : 'k',
0 : '',
'-3' : 'm',
'-6' : 'μ',
'-9' : 'n'
}
};
kittenFormat.locale(locale);
export default locale;
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kitten-format")):"function"==typeof define&&define.amd?define(["kitten-format"],t):(e=e||self).kittenFormat_de_CH=t(e.kittenFormat)}(this,function(e){"use strict";var t={locale:"de-CH",currency:"CHF",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"}};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t});

@@ -1,21 +0,1 @@

import kittenFormat from 'kitten-format'
var locale = {
locale : 'en-GB',
currency : 'GBP',
precision : 2,
unitPrefixes : {
15 : 'P',
12 : 'T',
9 : 'G',
6 : 'M',
3 : 'k',
0 : '',
'-3' : 'm',
'-6' : 'μ',
'-9' : 'n'
}
};
kittenFormat.locale(locale);
export default locale;
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kitten-format")):"function"==typeof define&&define.amd?define(["kitten-format"],t):(e=e||self).kittenFormat_en_GB=t(e.kittenFormat)}(this,function(e){"use strict";var t={locale:"en-GB",currency:"GBP",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"}};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t});

@@ -1,21 +0,1 @@

import kittenFormat from 'kitten-format'
var locale = {
locale : 'es-ES',
currency : 'EUR',
precision : 2,
unitPrefixes : {
15 : 'P',
12 : 'T',
9 : 'G',
6 : 'M',
3 : 'k',
0 : '',
'-3' : 'm',
'-6' : 'μ',
'-9' : 'n'
}
};
kittenFormat.locale(locale);
export default locale;
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kitten-format")):"function"==typeof define&&define.amd?define(["kitten-format"],t):(e=e||self).kittenFormat_es_ES=t(e.kittenFormat)}(this,function(e){"use strict";var t={locale:"es-ES",currency:"EUR",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"}};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t});

@@ -1,21 +0,1 @@

import kittenFormat from 'kitten-format'
var locale = {
locale : 'fr-CH',
currency : 'CHF',
precision : 2,
unitPrefixes : {
15 : 'P',
12 : 'T',
9 : 'G',
6 : 'M',
3 : 'k',
0 : '',
'-3' : 'm',
'-6' : 'μ',
'-9' : 'n'
}
};
kittenFormat.locale(locale);
export default locale;
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kitten-format")):"function"==typeof define&&define.amd?define(["kitten-format"],t):(e=e||self).kittenFormat_fr_CH=t(e.kittenFormat)}(this,function(e){"use strict";var t={locale:"fr-CH",currency:"CHF",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"}};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t});

@@ -1,8 +0,1 @@

import kittenFormat from 'kitten-format';
import defaultLocale from './_default';
var locale = defaultLocale;
kittenFormat.locale(locale);
export default locale;
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kitten-format")):"function"==typeof define&&define.amd?define(["kitten-format"],t):(e=e||self).kittenFormat_fr_FR=t(e.kittenFormat)}(this,function(e){"use strict";var t={locale:"fr-FR",currency:"EUR",precision:2,unitPrefixes:{15:{default:"P",g:"GT"},12:{default:"T",g:"MT"},9:{default:"G",g:"kT"},6:{default:"M",g:"T"},3:"k",0:"","-3":"m","-6":"μ","-9":"n"}};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t});

@@ -1,21 +0,1 @@

import kittenFormat from 'kitten-format'
var locale = {
locale : 'it-CH',
currency : 'CHF',
precision : 2,
unitPrefixes : {
15 : 'P',
12 : 'T',
9 : 'G',
6 : 'M',
3 : 'k',
0 : '',
'-3' : 'm',
'-6' : 'μ',
'-9' : 'n'
}
};
kittenFormat.locale(locale);
export default locale;
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kitten-format")):"function"==typeof define&&define.amd?define(["kitten-format"],t):(e=e||self).kittenFormat_it_CH=t(e.kittenFormat)}(this,function(e){"use strict";var t={locale:"it-CH",currency:"CHF",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"}};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t});
{
"name": "kitten-format",
"version": "1.6.1",
"version": "1.6.3",
"description": "Fast formatters for browsers",
"main": "build/kitternFormat.client.js",
"scripts": {
"build-locales": "node build-locales",
"build-server": "./node_modules/.bin/rollup entry.server.js --file build/kittenFormat.server.js --format cjs",
"build-client": "./node_modules/.bin/rollup entry.client.js --file build/kittenFormat.client.js --format umd --name kittenFormat",
"build-client-minified": "./node_modules/.bin/rollup -c rollup-min.config.js",
"build": "npm run build-locales & npm run build-client & npm run build-client-minified & cp README.md ./build",
"test-client": "npm run build & ./node_modules/.bin/karma start tests/client/karma.conf.js"
},
"main": "kittenFormat.client.js",
"author": "Ideolys",
"license": "Apache-2.0",
"devDependencies": {
"karma": "^3.1.4",
"karma-mocha": "^1.3.0",
"karma-should": "^1.0.0",
"mocha": "^5.2.0",
"rollup": "^1.1.0",
"rollup-plugin-terser": "^4.0.2",
"should": "^13.2.3"
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Ideolys/kitten-format.git"
},
"dependencies": {}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc