Skip to content

svitejs/sfcsplit

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published