Skip to content

hata6502/slice-html

Repository files navigation

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