@tropicalraisel/skylib
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Logo/ skylib

Skypack for all!


Check out Skypack's official documentation!


npm Google Badge npms.io daviddm daviddm-dev

API

SKYPACK_URL: string: Equals the following: https://cdn.skypack.dev

isValidVersion(package_version: string): boolean: Returns if Skypack will accept the passed package version.

isValidPackage(package_id: string): boolean: Returns if Skypack will accept the passed package ID.

getSkypackUrl(package_id: string, minified = true): Promise<string>: Returns the most optimal Skypack URL for a passed package ID, which is usually a pinned URL. If the package ID is invalid, it will be returned.

Readme

Keywords

Package Sidebar

Install

npm i @tropicalraisel/skylib

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

10.5 kB

Total Files

8

Last publish

Collaborators

  • tropicalraisel