Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.12 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.12 KB

sfcsplit

npm version CI

A utility to split Single File Components into their top level parts

Why

Doing a full parse is costly and approaches using regex are slow and error prone.

Features

  • completely without regex
  • zero dependencies
  • small
  • unbundled esm js, no sourcemaps needed
  • types generated with dts-buddy

Links

package readme api changelog

Develop

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

License

MIT