strikethrough-js
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "strikethrough-js", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Manipulate strikethrough chars in Javascript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# StrikethroughJS | ||
Manipulate strikethrough chars in Javascript | ||
Manipulate plain text strikethrough chars in Javascript. | ||
[![npm version](https://badge.fury.io/js/strikethrough-js.svg)](https://badge.fury.io/js/strikethrough-js) | ||
## Why? | ||
> Strikethrough is represented by words with a horizontal line through their center. It implies that the text is wrong and was recently deleted or marked as such. Unlike the HTML s tag, this strikethrough text will work when you copy paste it in to another location. That’s because the strikethrough characters generated by this tool are in plain text. - [Saijo George](https://saijogeorge.com/strikethrough-text-generator/) | ||
This library allows you to get rid of this because some fonts doesn't support strikethrough. You will be able to apply strikethrough another way (e.g., in CSS: `text-decoration: line-through;`) | ||
## Install | ||
```npm | ||
npm install strikethrough-js | ||
npm i strikethrough-js | ||
``` | ||
@@ -39,1 +44,6 @@ | ||
``` | ||
## Testing | ||
```npm | ||
npm t | ||
``` | ||
Will use [Jest](https://jestjs.io/) test suites. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5550
49