@thi.ng/strings
Advanced tools
Comparing version 1.0.7 to 1.1.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/strings@1.0.7...@thi.ng/strings@1.1.0) (2019-04-15) | ||
### Features | ||
* **strings:** add hstr() (hollerith) ([619e9ef](https://github.com/thi-ng/umbrella/commit/619e9ef)) | ||
## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/strings@1.0.6...@thi.ng/strings@1.0.7) (2019-04-02) | ||
@@ -8,0 +19,0 @@ |
@@ -6,2 +6,3 @@ export * from "./api"; | ||
export * from "./format"; | ||
export * from "./hollerith"; | ||
export * from "./pad-left"; | ||
@@ -8,0 +9,0 @@ export * from "./pad-right"; |
@@ -5,2 +5,3 @@ export * from "./case"; | ||
export * from "./format"; | ||
export * from "./hollerith"; | ||
export * from "./pad-left"; | ||
@@ -7,0 +8,0 @@ export * from "./pad-right"; |
@@ -81,2 +81,4 @@ 'use strict'; | ||
const hstr = (x) => x != null ? ((x = x.toString()), `${x.length}H${x}`) : ""; | ||
const padRight = memoize.memoizeJ((n, ch = " ") => { | ||
@@ -225,2 +227,3 @@ const buf = repeat(ch, n); | ||
exports.grams = grams; | ||
exports.hstr = hstr; | ||
exports.kebab = kebab; | ||
@@ -227,0 +230,0 @@ exports.lower = lower; |
@@ -80,2 +80,4 @@ (function (global, factory) { | ||
const hstr = (x) => x != null ? ((x = x.toString()), `${x.length}H${x}`) : ""; | ||
const padRight = memoize.memoizeJ((n, ch = " ") => { | ||
@@ -224,2 +226,3 @@ const buf = repeat(ch, n); | ||
exports.grams = grams; | ||
exports.hstr = hstr; | ||
exports.kebab = kebab; | ||
@@ -226,0 +229,0 @@ exports.lower = lower; |
{ | ||
"name": "@thi.ng/strings", | ||
"version": "1.0.7", | ||
"version": "1.1.0", | ||
"description": "Various string formatting & utility functions", | ||
@@ -63,3 +63,3 @@ "module": "./index.js", | ||
"sideEffects": false, | ||
"gitHead": "8982b253961afbee2a63135c4ed7153c61febefb" | ||
"gitHead": "4baddea99aaa37e43b3109f5bfdd6d2e2aedf68b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
72279
46
1071