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.8.4 to 1.8.5

build-locales.js

26

locales/de-CH.js

@@ -1,1 +0,25 @@

!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",currencySymbol:"CHF",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"},thousandSeparator:" ",decimalSeparator:","};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t});
import kittenFormat from 'kitten-format';
import currencies from '../lib/currencies';
var locale = {
locale : 'de-CH',
currency : 'CHF',
currencySymbol : currencies.CHF,
precision : 2,
unitPrefixes : {
15 : 'P',
12 : 'T',
9 : 'G',
6 : 'M',
3 : 'k',
0 : '',
'-3' : 'm',
'-6' : 'μ',
'-9' : 'n'
},
thousandSeparator : ' ',
decimalSeparator : ','
};
kittenFormat.locale(locale);
export default locale;

@@ -1,1 +0,27 @@

!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",currencySymbol:"£",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"},thousandSeparator:",",decimalSeparator:".",isCurrencyFirst:!0};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t});
import kittenFormat from 'kitten-format';
import currencies from '../lib/currencies';
var locale = {
locale : 'en-GB',
currency : 'GBP',
currencySymbol : currencies.GBP,
precision : 2,
unitPrefixes : {
15 : 'P',
12 : 'T',
9 : 'G',
6 : 'M',
3 : 'k',
0 : '',
'-3' : 'm',
'-6' : 'μ',
'-9' : 'n'
},
thousandSeparator : ',',
decimalSeparator : '.',
isCurrencyFirst : true
};
kittenFormat.locale(locale);
export default locale;

@@ -1,1 +0,26 @@

!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",currencySymbol:"€",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"},thousandSeparator:" ",decimalSeparator:","};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t});
import kittenFormat from 'kitten-format';
import currencies from '../lib/currencies';
var locale = {
locale : 'es-ES',
currency : 'EUR',
currencySymbol : currencies.EUR,
precision : 2,
unitPrefixes : {
15 : 'P',
12 : 'T',
9 : 'G',
6 : 'M',
3 : 'k',
0 : '',
'-3' : 'm',
'-6' : 'μ',
'-9' : 'n'
},
thousandSeparator : ' ',
decimalSeparator : ','
};
kittenFormat.locale(locale);
export default locale;

@@ -1,1 +0,26 @@

!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",currencySymbol:"CHF",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"},thousandSeparator:" ",decimalSeparator:","};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t});
import kittenFormat from 'kitten-format';
import currencies from '../lib/currencies';
var locale = {
locale : 'fr-CH',
currency : 'CHF',
currencySymbol : currencies.CHF,
precision : 2,
unitPrefixes : {
15 : 'P',
12 : 'T',
9 : 'G',
6 : 'M',
3 : 'k',
0 : '',
'-3' : 'm',
'-6' : 'μ',
'-9' : 'n'
},
thousandSeparator : ' ',
decimalSeparator : ','
};
kittenFormat.locale(locale);
export default locale;

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

!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",currencySymbol:"€",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"},thousandSeparator:" ",decimalSeparator:","};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t});
import kittenFormat from 'kitten-format';
import defaultLocale from './_default';
var locale = defaultLocale;
kittenFormat.locale(locale);
export default locale;

@@ -1,1 +0,26 @@

!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",currencySymbol:"CHF",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"},thousandSeparator:" ",decimalSeparator:","};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t});
import kittenFormat from 'kitten-format';
import currencies from '../lib/currencies';
var locale = {
locale : 'it-CH',
currency : 'CHF',
currencySymbol : currencies.CHF,
precision : 2,
unitPrefixes : {
15 : 'P',
12 : 'T',
9 : 'G',
6 : 'M',
3 : 'k',
0 : '',
'-3' : 'm',
'-6' : 'μ',
'-9' : 'n'
},
thousandSeparator : ' ',
decimalSeparator : ','
};
kittenFormat.locale(locale);
export default locale;

26

package.json
{
"name": "kitten-format",
"version": "1.8.4",
"version": "1.8.5",
"description": "Fast formatters for browsers",
"main": "kittenFormat.server.js",
"main": "build/kitternFormat.client.js",
"scripts": {
"build-locales": "node build-locales",
"build-server": "./node_modules/.bin/rollup index.js --file build/kittenFormat.server.js --format cjs",
"build-client": "./node_modules/.bin/rollup index.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 && npm run build-server && cp README.md ./build",
"test": "npm run build-server && ./node_modules/.bin/mocha ./tests/test.*.js"
},
"author": "Ideolys",
"license": "Apache-2.0",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
"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"
},
"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