# std **Repository Path**: kkbt/std ## Basic Information - **Project Name**: std - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-17 - **Last Updated**: 2025-09-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Deno std Import [Deno std library](https://jsr.io/@std) using HTTP modules, in a single package, with no dependencies. Compatible with browsers, Node, Bun, and Deno. Note: This package only includes stable APIs. ## Use in browsers The package can be imported from [jsDelivr](https://www.jsdelivr.com/package/gh/oscarotero/std?tab=files) as standard HTTPS JavaScript modules: ```html ``` ## Use in Node/Bun This package is also published in [NPM as `deno-std`](https://www.npmjs.com/package/deno-std). ``` npm install deno-std ``` ```js import { basename } from "deno-std/path/mod.js"; console.log(basename("/hello/world.html")); ``` ## Use in Deno In Deno you can import the official [@std packages from jsr.io](https://jsr.io/@std). But if you prefer to manage a single version including all stable packages, you can import it from [deno.land/x/_std](https://deno.land/x/_std@1.0.0): ```ts import { basename } from "https://deno.land/x/_std@1.0.0/path/mod.ts"; console.log(basename("/hello/world.html")); ``` Due `land/x` repository is not maintained anymore by Deno, you can import the package [from `jsDelivr`](https://www.jsdelivr.com/package/gh/oscarotero/std?tab=files), which probably is faster and with higher availability. ```ts import { basename } from "https://cdn.jsdelivr.net/gh/oscarotero/std@1.0.0/path/mod.ts"; console.log(basename("/hello/world.html")); ```