Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

strikethrough-js

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strikethrough-js - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

package.json
{
"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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc