1.0.10 • Published 8 months ago

@substrate-system/path v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

path

tests types module semantic versioning Common Changelog install size dependencies license

The path module from Node.js, but agnostic about runtime.

!WARNING
This implements POSIX style paths only, not windows.

Install

npm i -S @substrate-system/path

Usage

import { path } from '@susbtrate-system/path'

const filename = 'logo.png';
const logo = path.join('./assets/img', filename);
// => './assets/img/logo.png'
document.querySelector('#logo').src = logo;

API

See the Node.js path docs. @substrate-system/path currently matches the Node.js 10.3 API. @substrate-system/path only implements the POSIX functions, not the win32 ones.

License

MIT

1.0.10

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago