Features • Install • Usage
- TypeScript inference for string literals
- Supports nested objects
- Supports CJS and ESM
- No dependencies
- 2 kb in size
npm install nabo
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" },
}
);