0.0.10 • Published 1 year ago

depl.to v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

depl.to

Serve an SPA with node_modules and zero config as a service (wip)

First, go to depl.to and connect with github.

Then, this is usage of depl.to from start to finish:

  1. mkdir example && cd example
  2. npm init
  3. git init
  4. git remote add origin git@github.com:owner/repo.git
  5. touch index.html
  6. Edit index.html to your liking.
  7. Optional: Use npm i grainbox to get SPA capabilities.
  8. git add . && git commit -m "init"
  9. git push -u origin master

Your website is now available at https://repo.owner.depl.to

How it works

depl.to supports import statements with bare specifiers so that the browser can import from node_modules. It does this by transforming files during a request using web-imports.

Using the package.json in the github repo, it generates a copy of node_modules in a cache, and that is where node_modules is served from.

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago