Skip to content

antfu/hastscript-case-sensitive

 
 

Repository files navigation

hastscript-case-sensitive

NPM version

A fork of hastscript, supporting for case-sensitive tagName.

hastscript's h functions forced the tagName to be lowercase (introduced in syntax-tree/hastscript#11). This fork removes the enforcement, and allows the tagName to be case-sensitive.

Installation

npm i hastscript-case-sensitive

If you want to override the original parse5 package, you can do it by adding the following to your package.json:

{
  "resolutions": {
    "hastscript": "npm:hastscript-case-sensitive@7.1.2-0"
  }
}

Versioning

This fork is planned to be kept in sync with the original hastscript package, the versioning will also be in sync with the main package, with an extra -0 suffix indicating the patch versions of hastscript-case-sensitive.

About

A fork of `hastscript` to support case sensitive tagName

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • JavaScript 87.9%
  • TypeScript 12.1%