Comparing version
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
/** | ||
@@ -13,6 +15,6 @@ * indento | ||
function indento(input, width, char) { | ||
char = char || " "; | ||
return input.replace(/^/gm, char.repeat(width)); | ||
char = char || " "; | ||
return input.replace(/^/gm, char.repeat(width)); | ||
} | ||
module.exports = indento; | ||
module.exports = indento; |
{ | ||
"name": "indento", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Indent strings.", | ||
@@ -37,2 +37,3 @@ "main": "lib/index.js", | ||
"menu/", | ||
"scripts/", | ||
"cli.js", | ||
@@ -39,0 +40,0 @@ "index.js" |
# indento [][paypal-donations] [](https://www.npmjs.com/package/indento) [](https://www.npmjs.com/package/indento) [](https://www.codementor.io/johnnyb?utm_source=github&utm_medium=button&utm_term=johnnyb&utm_campaign=github) | ||
# indento | ||
[][paypal-donations] [](https://github.com/IonicaBizau/ama) [](https://www.npmjs.com/package/indento) [](https://www.npmjs.com/package/indento) [](https://www.codementor.io/johnnyb?utm_source=github&utm_medium=button&utm_term=johnnyb&utm_campaign=github) | ||
> Indent strings. | ||
@@ -5,0 +7,0 @@ |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
4764
2.85%75
2.74%1
Infinity%