Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
dsherret/pathPath class for JavaScript built on top of Deno's standard library.
@david/path
Path class for JavaScript built on top of @std/path and @std/fs.
Setup
deno add @david/path
Example
import { Path } from "@david/path"; const srcDir = new Path("src"); console.log(srcDir.existsSync()); const dataFile = srcDir.join("data.txt"); dataFile.writeTextSync("Hello there!");
Road to 1.0
I would like to stabilize this, but first I want to get more feedback on it.
Built and signed on
GitHub Actions
Add Package
deno add jsr:@david/path
Import symbol
import * as path from "@david/path";
Import directly with a jsr specifier
import * as path from "jsr:@david/path";