# left-trim

> Removes whitespace on the left

Latest version **1.0.2** (published 2021-01-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install left-trim
pnpm add left-trim
yarn add left-trim
bun add left-trim
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2021-01-18 |
| First published | 2021-01-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 0 |
| Author | Grigorios Ntousakis |
| Maintainers | gntousakis |
| Keywords | string, whitespace, trim, left, text, nan, native, addon |

## Links

- npm: https://www.npmjs.com/package/left-trim
- Repository: https://github.com/GNtousakis/left-trim
- Homepage: https://github.com/GNtousakis/left-trim#readme
- Issues: https://github.com/GNtousakis/left-trim/issues
- npm.io page: https://npm.io/package/left-trim

## Dependencies (1)

- [nan](https://npm.io/package/nan.md) ^2.14.2

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2021-01-18
- 1.0.1 — 2021-01-10
- 1.0.0 — 2021-01-10

## README

# left-trim

Removes whitespace on the left. Build with __nan__.

## Install 

```sh

# With npm 
npm i left-trim 

```

## How to use 

```js 

const leftTrim = require('left-trim');

leftTrim('   pizza   ') // ~> 'pizza   '
leftTrim('   hello world') // ~> 'hello world'

```

---
_Source: https://npm.io/package/left-trim · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
