Skip to content

tani/lib.deno.dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

deno.land Version Aliasing

This service provides a version aliasing for deno library.

// node-semver style
import abc from "https://lib.deno.dev/x/abc@~1.3/mod.ts"
import abc from "https://lib.deno.dev/x/abc@>=1.2/mod.ts"
import abc from "https://lib.deno.dev/x/abc@^1.2/mod.ts"
import abc from "https://lib.deno.dev/x/abc@1/mod.ts"
// weak semver style
import abc from "https://lib.deno.dev/x/abc@v1/mod.ts"
import abc from "https://lib.deno.dev/x/[email protected]/mod.ts"
import abc from "https://lib.deno.dev/x/[email protected]/mod.ts"
// ↓
import abc from "https://deno.land/x/[email protected]/mode.ts"

Motivation

In the modern CDN providers such as jsDelivr and unpkg, we can use the version alias to retrieve a patch update without modifications. We bring this system to deno.land using Deno Deploy. You can get the latest compatible version every cache updates.

Usage

This system is a drop-in replacement of the deno.land. You need to replace deno.land by lib.deno.dev.

Support

Thank you for ⭐ GitHub stars and ❤️ GitHub Sponsors (@tani)

License

2021 © TANIGUCHI Masaya, MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published