hanging-indent alternatives and similar modules
Based on the "Text" category.
Alternatively, view hanging-indent alternatives based on common mentions on social networks and blogs.
-
nanoid
A tiny (130 bytes), secure, URL-friendly, unique string ID generator for JavaScript -
Numeral.js
A javascript library for formatting and manipulating numbers. -
Flexsearch
Next-Generation full text search library for Browser and Node.js -
Underscore.string
String manipulation helpers for javascript -
i18n-node
Lightweight simple translation module for node.js / express.js with dynamic json storage. Uses common __('...') syntax in app and templates. -
StegCloak
Hide secrets with invisible characters in plain text securely using passwords ๐ง๐ปโโ๏ธโญ -
camelcase
Convert a dash/dot/underscore/space separated string to camelCase: foo-bar โ fooBar -
escape-string-regexp
Escape RegExp special characters -
babelfish
human friendly i18n for javascript (node.js + browser) -
strip-indent
Strip leading whitespace from each line in a string -
string-length
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes -
parse-columns
Parse text columns, like the output of unix commands -
unhomoglyph
Replace all homoglyphs with base characters. Useful to detect similar strings. -
splice-string
Remove or replace part of a string like Array#splice
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of hanging-indent or a related project?
README
[hanging-indent](logo.png)
About | Installation | API | License
About
Turn this
Viral polaroid cronut etsy photo booth, tousled next level literally. Put a bird on it narwhal irony four dollar toast ugh, typewriter poutine austin VHS fashion axe. Wolf butcher humblebrag, roof party chillwave chambray actually typewriter hella messenger bag poutine green juice bitters meggings. Chicharrones irony plaid marfa hammock crucifix. Semiotics seitan fanny pack, biodiesel fingerstache humblebrag twee. Actually gastropub tousled cornhole, readymade mixtape vice yuccie skateboard williamsburg cred chillwave squid art party 90's. Occupy ramps before they sold out, ennui trust fund tacos flannel.
Into this
Viral polaroid cronut etsy photo booth, tousled next level literally. Put a
bird on it narwhal irony four dollar toast ugh, typewriter poutine austin
VHS fashion axe. Wolf butcher humblebrag, roof party chillwave chambray
actually typewriter hella messenger bag poutine green juice bitters
meggings. Chicharrones irony plaid marfa hammock crucifix. Semiotics seitan
fanny pack, biodiesel fingerstache humblebrag twee. Actually gastropub
tousled cornhole, readymade mixtape vice yuccie skateboard williamsburg
cred chillwave squid art party 90's. Occupy ramps before they sold out,
ennui trust fund tacos flannel.
Sample text courtesy hipster ipsum :neckbeard:
Installation
Install from terminal
$ npm install hanging-indent
Require in file
var hangingIndent = require('hanging-indent')
API
hangingIndent(line, indent, limit)
Params
- line: line to break into a hanging-indented paragraph
- type: string
- required: yes
- indent: amount of spaces to indent lines
- type: number
- required: no
- default: 4
- limit: max number of characters that can be in a line
- type: number
- required: no
- default: 80
Returns
formatted string with spaces and newlines inserted
License
[MIT](license)
*Note that all licence references and agreements mentioned in the hanging-indent README section above
are relevant to that project's source code only.