A utility to split Single File Components into their top level parts
Doing a full parse is costly and approaches using regex are slow and error prone.
- completely without regex
- zero dependencies
- small
- unbundled esm js, no sourcemaps needed
- types generated with dts-buddy
This repo uses
In every PR you have to add a changeset by running pnpm changeset
and following the prompts
PRs are going to be squash-merged
# install dependencies
pnpm install
# run tests
pnpm test