New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

strman.lefttrim

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strman.lefttrim - npm Package Compare versions

Comparing version 1.3.1-0 to 1.3.1-prepublish-0

7

index.js

@@ -1,6 +0,6 @@

var replace = require('strman.replace')Object.defineProperty(exports, "__esModule", {
var replace = require('strman.replace')
Object.defineProperty(exports, "__esModule", {
value: true
});
/**

@@ -16,3 +16,3 @@ * Remove all spaces on left.

*/
var leftTrim = function leftTrim(value) {
exports.default = function (value) {
var char = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ' ';

@@ -22,3 +22,2 @@ return replace(value, '^' + char + '+', '');

exports.default = leftTrim;
module.exports = exports['default'];
{
"name": "strman.lefttrim",
"version": "1.3.1-0",
"description": "A Javascript string manipulation library without npm dependences.",
"version": "1.3.1-prepublish-0",
"description": "The [strman](https://github.com/dleitee/strman) method `lefttrim` exported as a [Node.js](https://nodejs.org/) module.",
"main": "index.js",

@@ -20,3 +20,3 @@ "repository": {

"dependencies": {
"strman.replace":"1.3.1"
"strman.replace":"1.3.1-prepublish-0"
},

@@ -23,0 +23,0 @@ "author": "Daniel Leite de Oliveira <dleitee@gmail.com>",

# strman.lefttrim v1.3.1
# strman.lefttrim v1.3.1-prepublish-0

@@ -16,3 +16,3 @@ The [strman](https://github.com/dleitee/strman) method `lefttrim` exported as a [Node.js](https://nodejs.org/) module.

```js
var range = require('strman.lefttrim');
var lefttrim = require('strman.lefttrim');
```

@@ -19,0 +19,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