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

numeros

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

numeros - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

54

index.js

@@ -1,28 +0,28 @@

// "use strict";
// var __importDefault = (this && this.__importDefault) || function (mod) {
// return (mod && mod.__esModule) ? mod : { "default": mod };
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var csuf_1 = __importDefault(require("./csuf"));
var currency_formatter_1 = __importDefault(require("./js/currency_formatter"));
var timinig_formatter_1 = __importDefault(require("./js/timinig_formatter"));
var metric_system_formatter_1 = __importDefault(require("./js/metric_system_formatter"));
exports.numeros = function () {
return {
ComputerStorageUnitFormatter: csuf_1.default,
CurrencyFormatter: currency_formatter_1.default,
TimingFormatter: timinig_formatter_1.default,
MetricSystemFormatter: metric_system_formatter_1.default,
};
};
// const ComputerStorageUnitFormatter = require("./js/csuf");
// const TimingFormatter = require("./js/timinig_formatter");
// const CurrencyFormatter = require("./js/currency_formatter");
// const MetricSystemFormatter = require("./js/metric_system_formatter");
// exports.numeros = {
// ComputerStorageUnitFormatter,
// TimingFormatter,
// CurrencyFormatter,
// MetricSystemFormatter,
// };
// Object.defineProperty(exports, "__esModule", { value: true });
// var csuf_1 = __importDefault(require("./csuf"));
// var currency_formatter_1 = __importDefault(require("./currency_formatter"));
// var timinig_formatter_1 = __importDefault(require("./timinig_formatter"));
// var metric_system_formatter_1 = __importDefault(require("./metric_system_formatter"));
// exports.numeros = function () {
// return {
// ComputerStorageUnitFormatter: csuf_1.default,
// CurrencyFormatter: currency_formatter_1.default,
// TimingFormatter: timinig_formatter_1.default,
// MetricSystemFormatter: metric_system_formatter_1.default,
// };
// };
const ComputerStorageUnitFormatter = require("./js/csuf");
const TimingFormatter = require("./js/timinig_formatter");
const CurrencyFormatter = require("./js/currency_formatter");
const MetricSystemFormatter = require("./js/metric_system_formatter");
exports.numeros = {
ComputerStorageUnitFormatter,
TimingFormatter,
CurrencyFormatter,
MetricSystemFormatter,
};
{
"name": "numeros",
"version": "1.0.1",
"version": "1.0.2",
"description": "small javascrip utility to format numbers in a short and standerd method including (currencies,timing,computer storage unit sizes, Metrics Systems)",

@@ -5,0 +5,0 @@ "main": "index.js",

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