npm

microfern
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Microfern - Minimal JavaScript & TypeScript string templating engine that runs anywhere

NPM Version documentation microfern.bgenc.net GitHub License Codecov

Microfern is a minimal string templating engine for JavaScript & TypeScript that works in Node.js, browsers (Firefox, Chrome, Safari), Edge functions such as Cloudflare Workers or Vercel Edge Functions, and Bun. There are no files, no template inheritance, no recursion or complex operations. The template language is inspired by Nunjucks, and should be easy for anyone to write.

Microfern has no dependencies. The core export fits within 1kb minzipped, and the total including everything is under 2kb minzipped.

Readme

Keywords

none

Package Sidebar

Install

npm i microfern

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

18 kB

Total Files

12

Last publish

Collaborators

  • seriousbug