0.1.4 • Published 1 year ago

nabo v0.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Features

  • TypeScript inference for string literals
  • Supports nested objects
  • Supports CJS and ESM
  • No dependencies
  • 2 kb in size

Install

npm install nabo

Usage

import { nabo } from "nabo";

nabo(
    `There are {personCount} people.
     The first person is called {firstPerson.name}.
     The second person is called {secondPerson.name}.`,
    {
        personCount: "two",
        firstPerson: { name: "John Doe" },
        secondPerson: { name: "Jane Doe" },
    }
);
0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago