Socket
Socket
Sign inDemoInstall

pre-suf

Package Overview
Dependencies
1
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "pre-suf",
"version": "1.0.1",
"version": "1.0.2",
"description": "Manipulate strings with prefixes and suffixes.",

@@ -5,0 +5,0 @@ "main": "./lib",

@@ -30,3 +30,4 @@ [![Build Status](https://travis-ci.org/kaelzhang/node-pre-suf.svg?branch=master)](https://travis-ci.org/kaelzhang/node-pre-suf)

presuf.ensureLeading('path/to', '/') // '/path/to'
presuf.ensureLeading('path/to', '/') // '/path/to'
presuf.removeEnding('/path/to//', '/') // '/path/to'
```

@@ -33,0 +34,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc