@branchlet/core
v1.0.0
Published
Branchlet core package.
Maintainers
Readme
@branchlet/core
Tiny, extensible i18n string processor with elegant conditional logic.
Quick Start
pnpm add @branchlet/coreimport { createBranchlet } from '@branchlet/core';
const { parse } = createBranchlet();
parse('You have {{ count, =0:no items, =1:one item, many items }}.', { count: 0 });
// → "You have no items."Documentation
For complete documentation, examples, and API reference, visit the GitHub repository.
License
MIT © Corentin Thomasset
