@plexis/to-pred
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -1,10 +0,9 @@ | ||
export | ||
/** | ||
* @description Converts a string to its equivalent predecessor | ||
* @param {String} text | ||
* @example | ||
* toPred('b') // returns 'a' | ||
* toPred('B') // returns 'A' | ||
* toPred('BCD') // returns 'ABC' | ||
*/ | ||
* @description Converts a string to its equivalent predecessor | ||
* @param {String} text | ||
* @example | ||
* toPred('b') // returns 'a' | ||
* toPred('B') // returns 'A' | ||
* toPred('BCD') // returns 'ABC' | ||
*/ | ||
var toPred = function toPred(text) { | ||
@@ -15,2 +14,3 @@ return text.split('').map(function (s) { | ||
}; | ||
export default toPred; |
"use strict"; | ||
exports.__esModule = true; | ||
exports["default"] = exports.toPred = void 0; | ||
exports["default"] = void 0; | ||
/** | ||
* @description Converts a string to its equivalent predecessor | ||
* @param {String} text | ||
* @example | ||
* toPred('b') // returns 'a' | ||
* toPred('B') // returns 'A' | ||
* toPred('BCD') // returns 'ABC' | ||
*/ | ||
* @description Converts a string to its equivalent predecessor | ||
* @param {String} text | ||
* @example | ||
* toPred('b') // returns 'a' | ||
* toPred('B') // returns 'A' | ||
* toPred('BCD') // returns 'ABC' | ||
*/ | ||
var toPred = function toPred(text) { | ||
@@ -20,4 +20,3 @@ return text.split('').map(function (s) { | ||
exports.toPred = toPred; | ||
var _default = toPred; | ||
exports["default"] = _default; |
{ | ||
"name": "@plexis/to-pred", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"main": "dist/index.js", | ||
"module": "dist/index.esm.js", | ||
"jsnext:main": "./src/index.js", | ||
"authors": [ | ||
@@ -10,6 +11,17 @@ "Theodore Vorillas <vorillaz@gmail.com> (https://vorillaz.com)" | ||
"license": "MIT", | ||
"keywords": [ | ||
"utility", | ||
"string", | ||
"parse", | ||
"format", | ||
"validate" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/plexis-js/plexis.git" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "d85f23d866251ee16b143f6776299fcc2cb96abc" | ||
"gitHead": "ba3ebd6492a002b8483add45fa098db086daec65" | ||
} |
@@ -1,2 +0,2 @@ | ||
export /** | ||
/** | ||
* @description Converts a string to its equivalent predecessor | ||
@@ -3,0 +3,0 @@ * @param {String} text |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
3406
6
0
58