Skip to content

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

Notifications You must be signed in to change notification settings

shamilkhan/formatter-test

Repository files navigation

✂️ ✨ 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