trim-left-x
Advanced tools
Comparing version 4.0.0 to 4.0.1
/*! | ||
{ | ||
"copywrite": "Copyright (c) 2017", | ||
"date": "2019-07-10T22:30:45.172Z", | ||
"date": "2019-07-10T22:36:42.380Z", | ||
"describe": "", | ||
@@ -10,3 +10,3 @@ "description": "This method removes whitespace from the left end of a string.", | ||
"license": "MIT", | ||
"version": "4.0.0" | ||
"version": "4.0.1" | ||
} | ||
@@ -13,0 +13,0 @@ */ |
/*! | ||
{ | ||
"copywrite": "Copyright (c) 2017", | ||
"date": "2019-07-10T22:30:45.172Z", | ||
"date": "2019-07-10T22:36:42.380Z", | ||
"describe": "", | ||
@@ -10,3 +10,3 @@ "description": "This method removes whitespace from the left end of a string.", | ||
"license": "MIT", | ||
"version": "4.0.0" | ||
"version": "4.0.1" | ||
} | ||
@@ -13,0 +13,0 @@ */ |
{ | ||
"name": "trim-left-x", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "This method removes whitespace from the left end of a string.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Xotic750/trim-left-x", |
@@ -24,23 +24,12 @@ <a href="https://travis-ci.org/Xotic750/trim-left-x" | ||
## trim-left-x | ||
This method removes whitespace from the left end of a string. | ||
**Version**: 3.0.0 | ||
**Author**: Xotic750 <Xotic750@gmail.com> | ||
**License**: [MIT](<https://opensource.org/licenses/MIT>) | ||
**Copyright**: Xotic750 | ||
- [trim-left-x](#module_trim-left-x) | ||
- [`.trimLeft2016`](#module_trim-left-x.trimLeft2016) ⇒ <code>string</code> | ||
* [trim-left-x](#module_trim-left-x) | ||
* [`.trimLeft`](#module_trim-left-x.trimLeft) | ||
* [`.trimLeft2016`](#module_trim-left-x.trimLeft2016) ⇒ <code>string</code> | ||
* [`.trimLeft2018`](#module_trim-left-x.trimLeft2018) ⇒ <code>string</code> | ||
<a name="module_trim-left-x.trimLeft"></a> | ||
### `trim-left-x.trimLeft` | ||
A reference to leftTrim2018. | ||
**Kind**: static property of [<code>trim-left-x</code>](#module_trim-left-x) | ||
<a name="module_trim-left-x.trimLeft2016"></a> | ||
### `trim-left-x.trimLeft2016` ⇒ <code>string</code> | ||
This method removes whitespace from the left end of a string. (ES2016) | ||
@@ -54,16 +43,18 @@ | ||
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| Param | Type | Description | | ||
| ------ | ------------------- | ------------------------------------------------ | | ||
| string | <code>string</code> | The string to trim the left end whitespace from. | | ||
**Example** | ||
**Example** | ||
```js | ||
var trimLeft = require('trim-left-x').trimLeft2016; | ||
import {trimLeft2016} from 'trim-left-x'; | ||
trimLeft(' \t\na \t\n') === 'a \t\n'; // true | ||
console.log(trimLeft2016(' \t\na \t\n') === 'a \t\n'); // true | ||
``` | ||
<a name="module_trim-left-x.trimLeft2018"></a> | ||
### `trim-left-x.trimLeft2018` ⇒ <code>string</code> | ||
<a name="module_trim-left-x"></a> | ||
### `trim-left-x` ⇒ <code>string</code> | ||
This method removes whitespace from the left end of a string. (ES2018) | ||
@@ -77,12 +68,12 @@ | ||
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| Param | Type | Description | | ||
| ------ | ------------------- | ------------------------------------------------ | | ||
| string | <code>string</code> | The string to trim the left end whitespace from. | | ||
**Example** | ||
**Example** | ||
```js | ||
var trimLeft = require('trim-left-x').trimLeft2018; | ||
import trimLeft from 'trim-left-x'); | ||
trimLeft(' \t\na \t\n') === 'a \t\n'; // true | ||
console.log(trimLeft(' \t\na \t\n') === 'a \t\n'); // true | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
101068
77