Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.03 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.03 KB

✂️ ✨ Formatter

Formatter is a tool that allows you to create complex template strings

  // --> `Hello, world!`
  format("Hello, {name}!", { name: "world" }
  // --> `Hello, John Smith`
  format("Hello, {user.name.first} {user.name.last}!", {
    user: { name: { first: "John", last: "Smith" } },
  })

Build with

Typescript Jest Node.js Yarn

Scripts:

Install Dependencies:

  yarn install

Development:

  yarn dev

Run tests:

  yarn test