Socket
Socket
Sign inDemoInstall

add-nbsp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

add-nbsp

The package allows you to automatically wrap conjunctions, prepositions and other words up to n characters on the next line. According to the rules of typography, n = 3.


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

Add nbsp npm npm type definitions

Add   (non-breaking space) to text.

Installation

npm install add-nbsp

Usage

import { addNbsp } from 'add-nbsp'

document.body.textContent = addNbsp('What are they doing?')

Keywords

FAQs

Package last updated on 14 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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