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

1.0.2 • Public • Published

Welcome to slice-html 👋

Version License: MIT Twitter: hata6502

Slice an HTML element by the text offset.

Demo

demo

Install

Install via yarn

yarn add slice-html

Load from CDN

<script src="https://cdn.jsdelivr.net/npm/slice-html@latest"></script>

Usage

Please see demo HTML. sliceHTML() is similar to String.prototype.slice().

Build

yarn webpack

Format

yarn fix

Run tests

yarn test

Author

Tomoyuki Hata Tomoyuki Hata hato6502@gmail.com

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

Disclaimer

Please see DISCLAIMER.md.


This README was generated with ❤️ by readme-md-generator

Package Sidebar

Install

npm i slice-html

Weekly Downloads

6

Version

1.0.2

License

MIT

Unpacked Size

6.42 kB

Total Files

7

Last publish

Collaborators

  • hata6502