Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

cloud-fs

0.1.9 • Public • Published

cloud-fs

Build status Git tag NPM version Code style

Keep assets in the cloud.

Installation

$ npm install cloud-fs

Usage

const {url} = require('cloud-fs')
const faviconURL = url('./favicon.ico')

API

.url(file)

  • file - relative or absolute path to file

Returns: url for file

.loadCache(cache)

  • cache - new cache of files to urls

License

MIT

Keywords

none

install

npm i cloud-fs

Downloadsweekly downloads

2

version

0.1.9

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar