Socket
Socket
Sign inDemoInstall

ellipsize

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ellipsize - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

2

package.json
{
"name": "ellipsize",
"version": "0.5.0",
"version": "0.5.1",
"description": "Ellipsizes a string at the nearest whitespace character near the end of allowed length",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -84,3 +84,3 @@ "use strict";

* @param {number} max - Max length including ellipsis
* @param {Record<string, any>} opts - See additional options
* @param {Record<string, any>} [opts] - See additional options
* @returns {string} ellipsized string

@@ -87,0 +87,0 @@ */

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