GithubHelp home page GithubHelp logo

m8e / registry Goto Github PK

View Code? Open in Web Editor NEW

This project forked from axetroy/registry

0.0 0.0 0.0 46 KB

Generic Registry for Git Repository

Home Page: https://repopod.now.sh

License: MIT License

TypeScript 90.95% HTML 9.05%

registry's Introduction

Build Status

Deno registry

This is a generic registry for importing library from everywhere.

Currently supports most of the code hosting platforms on the market.

Related proposal

Feel the Magic

{
  "imports": {
    "github.com/": "https://repopod.now.sh/github.com/"
  }
}
// example.ts
import { get } from "github.com/axetroy/deno_process/mod.ts";

console.log("current process information: ", await get(Deno.pid));

Run with command line deno run --allow-run --importmap=import_map.json example.ts

How to setup

require Deno v1.3.0

deno --allow-net --allow-env https://raw.githubusercontent.com/axetroy/registry/master/server.ts

How to use it

Use the following format to import packages

https://repopod.now.sh/{domain}/{owner}/{repository}@{version}/filepath.ts

// Import modules in new ways
import { server } from "https://repopod.now.sh/std/http/server.ts";

import github from "https://repopod.now.sh/github.com/username/repository/mod.ts";
import gitlab from "https://repopod.now.sh/gitlab.com/username/repository/mod.ts";
import bitbucket from "https://repopod.now.sh/bitbucket.org/username/repository/mod.ts";
import gitee from "https://repopod.now.sh/gitee.com/username/repository/mod.ts";
import coding from "https://repopod.now.sh/coding.net/username/repository/mod.ts";

License

The MIT License

registry's People

Contributors

axetroy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.