relative

npmv3.0.2

Get the relative filepath from path A to path B. Calculates from file-to-directory, file-to-file, directory-to-file, and directory-to-directory.

License MITpermissive15 versions1 maintainers1 deps474,249 weekly dl
jonschlinkert/relative
56
/ 100
Health
safe to use

[email protected] is safe to use (health: 56/100)

Health breakdown0 – 100
0/25
maintenance
14/20
popularity
25/25
security
15/15
maturity
2/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

1.4 KBminified
0.7 KB gzipped
1 direct dependencies
side effects
🌟

TypeScript

0/10untyped
No type definitions available

Health History

Dependency Tree

License Audit

Dependencies (1)
API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/relative

First published · 2014-02-02T09:39:36.825Z

Last updated · 2015-11-12T06:53:57.116Z