You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

typescript-string-operations

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-string-operations - npm Package Compare versions

Comparing version

to
1.3.1

2

package.json
{
"name": "typescript-string-operations",
"version": "1.3.0",
"version": "1.3.1",
"description": "Simple lightweight string operation library for Typescript, works with Angular",

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

@@ -55,7 +55,7 @@ [![NPM](https://nodei.co/npm/typescript-string-operations.png?mini=true)](https://www.npmjs.com/package/typescript-string-operations)

fruit.color = "RED";
fruit.shippingDate = "";
fruit.shippingDate = new Date(2018, 1, 1);
fruit.amount = 10000;
String.Format("the {type:U} is {color:L} shipped on {shippingDate:s} with an amount of {amount:n}", fruit);
// output: the APPLE is red shipped on with an amount of 10.000
// output: the APPLE is red shipped on 2018-01-01 with an amount of 10.000

@@ -62,0 +62,0 @@ ```