# Install direction with npm

Detect the direction of text: left-to-right, right-to-left, or neutral. Version 2.0.1 via npm; verified 2021-11-07.

## Install

```sh
sudo av install npm:direction
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g direction
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:direction
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/direction>
- **Version:** 2.0.1
- **Source summary:** Detect the direction of text: left-to-right, right-to-left, or neutral
- **Homepage:** <https://github.com/wooorm/direction#readme>
- **Repository:** <https://github.com/wooorm/direction>
- **Upstream docs:** <https://github.com/wooorm/direction#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/direction/-/direction-2.0.1.tgz>
- **Issue tracker:** <https://github.com/wooorm/direction/issues>
- **Published:** 2021-11-07T07:24:27.217Z
- **Last updated:** 2021-11-07T07:24:27.217Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- direction (cli)
- direction (alias)

## Build dependencies

- @types/tape
- c8
- prettier
- remark-cli
- remark-preset-wooorm
- rimraf
- tape
- type-coverage
- typescript
- xo

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.0.1
- Package-manager updated: 2021-11-07
- Local data: ok
- Upstream repository: https://github.com/wooorm/direction
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for direction. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.0.1
- **Version Count:** 16
- **Maintainers:** wooorm
- **Author:** Titus Wormer
- **Publisher:** wooorm
- **Funding:** <https://github.com/sponsors/wooorm>
- **Integrity:** sha512-9S6m9Sukh1cZNknO1CWAr2QAWsbKLafQiyM5gZ7VgXHeuaoUwffKN4q6NC4A/Mf9iiPlOXQEKW/Mv/mh9/3YFA==
- **Shasum:** 71800dd3c4fa102406502905d3866e65bdebb985
- **Unpacked Size:** 8,716
- **File Count:** 0
- **Created At:** 2014-06-14T09:23:15.322Z
- **Latest Published At:** 2021-11-07T07:24:27.217Z
- **Modified At:** 2022-06-15T04:32:17.635Z


## Related links

- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [detect-file-encoding-and-language](https://www.automicvault.com/pkg/npm/detect-file-encoding-and-language/) - Local package facts share a topical domain. Shared terms: analysis, cli, data, detect, or.
- [dot-json](https://www.automicvault.com/pkg/npm/dot-json/) - Local package facts share a topical domain. Shared terms: cli, data, detect, or.
- [garnish](https://www.automicvault.com/pkg/npm/garnish/) - Local package facts share a topical domain. Shared terms: cli, data, left, right.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
