@edgeros/quick-format-unescaped

4.0.5 • Public • Published

@edgeros/quick-format-unescaped

unescaped ?

Sometimes you want to embed the results of quick-format into another string, and then escape the whole string.

usage

var format = require('quick-format-unescaped')
format('hello %s %j %d', ['world', [{obj: true}, 4, {another: 'obj'}]])

format(fmt, parameters, [options])

fmt

A printf-like format string. Example: 'hello %s %j %d'

parameters

Array of values to be inserted into the format string. Example: ['world', {obj:true}]

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @edgeros/quick-format-unescaped

      Weekly Downloads

      1

      Version

      4.0.5

      License

      none

      Unpacked Size

      11.5 kB

      Total Files

      6

      Last publish

      Collaborators

      • clarkttfu
      • fu-starslights
      • epmbot
      • xieyuanbin
      • chengyonbin