# cloud-fs

> Keep assets in the cloud.

Latest version **0.1.9** (published 2016-11-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install cloud-fs
pnpm add cloud-fs
yarn add cloud-fs
bun add cloud-fs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.9 |
| Published | 2016-11-05 |
| First published | 2016-07-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | weo-edu |

## Links

- npm: https://www.npmjs.com/package/cloud-fs
- Repository: https://github.com/joshrtay/cloud-fs
- Issues: https://github.com/joshrtay/cloud-fs/issues
- npm.io page: https://npm.io/package/cloud-fs

## Dependencies (5)

- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [rework](https://npm.io/package/rework.md) ^1.0.1
- [farmhash](https://npm.io/package/farmhash.md) ^1.1.1
- [stack-trace](https://npm.io/package/stack-trace.md) 0.0.9
- [rework-plugin-url](https://npm.io/package/rework-plugin-url.md) ^1.1.0

## Recent versions

- 0.1.9 (latest) — 2016-11-05
- 0.1.8 — 2016-11-05
- 0.1.7 — 2016-09-15
- 0.1.6 — 2016-08-05
- 0.1.5 — 2016-07-30
- 0.1.4 — 2016-07-21
- 0.1.3 — 2016-07-21
- 0.1.2 — 2016-07-20
- 0.1.1 — 2016-07-07
- 0.1.0 — 2016-07-03

## README

# cloud-fs

[![Build status][travis-image]][travis-url]
[![Git tag][git-image]][git-url]
[![NPM version][npm-image]][npm-url]
[![Code style][standard-image]][standard-url]

Keep assets in the cloud.

## Installation

    $ npm install cloud-fs

## Usage

```js
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

[travis-image]: https://img.shields.io/travis/joshrtay/cloud-fs.svg?style=flat-square
[travis-url]: https://travis-ci.org/joshrtay/cloud-fs
[git-image]: https://img.shields.io/github/tag/joshrtay/cloud-fs.svg?style=flat-square
[git-url]: https://github.com/joshrtay/cloud-fs
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[standard-url]: https://github.com/feross/standard
[npm-image]: https://img.shields.io/npm/v/cloud-fs.svg?style=flat-square
[npm-url]: https://npmjs.org/package/cloud-fs

---
_Source: https://npm.io/package/cloud-fs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
