New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

formatted-string

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formatted-string

Gives you a formatted string to print based on a given key-value pair/object.

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
3
Created
Source

formatted-string

Formatting a string based upon the object passed.

Features

  • uses typescript

usage

var str = formatted("{a} is {b}; {b} is {a}", {a:'red', b: 'blue'});

console.log(str);

// output
"red is blue; blue is red"

License

MIT © Anubhav Saini 2016-2022

Keywords

formatted-string

FAQs

Package last updated on 17 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts