Skip to content

unindent 0.1.0

Install from the command line:
Learn more about npm packages
$ npm install @navi-language/unindent@0.1.0
Install via package.json:
"@navi-language/unindent": "0.1.0"

About this version

Unindent

Remove the leading spaces from the lines of the block.

Usage

Add unindent into your navi.toml:

[dependencies]
unindent = "0"

Then you can use it:

use unindent.unindent;

fn main() throws {
    println(unindent(`
        Hello, world!
          Second indented line.
    `));
}

This will print:

Hello, world!
  Second indented line.

Details


Assets

  • unindent-0.1.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all