UNPKG

numbro

Version:

Format and manipulate numbers.

3 lines (2 loc) 1.03 kB
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;((n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).numbro||(n.numbro={})).nb=e()}}(function(){return function t(f,u,l){function d(n,e){if(!u[n]){if(!f[n]){var o="function"==typeof require&&require;if(!e&&o)return o(n,!0);if(a)return a(n,!0);var r=new Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r}var i=u[n]={exports:{}};f[n][0].call(i.exports,function(e){return d(f[n][1][e]||e)},i,i.exports,t,f,u,l)}return u[n].exports}for(var a="function"==typeof require&&require,e=0;e<l.length;e++)d(l[e]);return d}({1:[function(e,n,o){"use strict";n.exports={languageTag:"nb",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"t",million:"mil",billion:"mia",trillion:"b"},ordinal:function(){return"."},currency:{symbol:"kr",code:"NOK"}}},{}]},{},[1])(1)}); //# sourceMappingURL=nb.min.js.map