npm · npm:direction
direction active
Detect the direction of text: left-to-right, right-to-left, or neutral
The latest stable version of direction is 2.0.1, published on 2021-11-07. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.0.1 |
|---|---|
| Published | 2021-11-07 07:24:27 UTC |
| Install | npm install direction@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | latest: 2.0.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 15:52:02 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "direction", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/direction . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2021-11-07 07:24:27 UTC · 1831 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 16 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.0.1 | 2021-11-07 07:24:27 UTC |
2.0.0 | 2021-03-17 10:15:51 UTC |
1.0.4 | 2020-01-26 15:06:08 UTC |
1.0.3 | 2019-05-14 07:48:40 UTC |
1.0.2 | 2018-04-29 12:52:28 UTC |
1.0.1 | 2017-07-09 09:36:32 UTC |
1.0.0 | 2016-08-13 19:31:30 UTC |
0.1.5 | 2014-12-17 18:05:44 UTC |
0.1.4 | 2014-11-24 08:42:29 UTC |
0.1.3 | 2014-11-24 08:38:28 UTC |
0.1.2 | 2014-10-25 18:32:40 UTC |
0.1.1 | 2014-09-21 13:26:01 UTC |
0.1.0 | 2014-07-08 16:38:38 UTC |
0.0.3 | 2014-06-19 10:38:50 UTC |
0.0.2 | 2014-06-17 09:00:27 UTC |
0.0.1 | 2014-06-14 09:23:15 UTC |
Showing the 16 most recent of 16 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 2.0.1 |
node 18 | 2.0.1 |
node 20 | 2.0.1 |
node 22 | 2.0.1 |
node 24 | 2.0.1 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of direction?
The latest stable version of direction is 2.0.1, published on 2021-11-07. Verified by Vigia on 2026-11-12.
How do I install the latest version of direction?
Run npm install direction@latest. The latest stable version is 2.0.1 (verified 2026-11-12).
Is direction deprecated?
No. direction is not marked as deprecated in the registry.
Which Node.js version does direction require?
direction 2.0.1 does not declare a Node.js version requirement.
Does direction 2.0.1 have known vulnerabilities?
No known advisories affect direction 2.0.1 according to the data Vigia checks.
Is direction still maintained?
direction published 0 stable releases in the last 12 months; the most recent was 1831 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @tiptap/core
- safe-json-stringify
- @react-navigation/routers
- @types/webxr
- hash-sum
- parse-conflict-json
- sass-embedded
- @types/archiver
- leaflet
- lightningcss-linux-arm64-gnu
- vaul
- xdg-app-paths
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/direction) [](https://vigia.coredls.cloud/npm/direction) [](https://vigia.coredls.cloud/npm/direction)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/direction
GET https://vigia.coredls.cloud/v1/packages/npm/direction/versions/{version}