skipper-disk
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "skipper-disk", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Receive Skipper's file uploads on your local filesystem", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,4 +0,63 @@ | ||
skipper-disk | ||
============ | ||
# [<img title="skipper-disk - Local disk adapter for Skipper" src="http://i.imgur.com/P6gptnI.png" width="125px" alt="skipper emblem - face of a ship's captain"/>](https://github.com/balderdashy/skipper-disk) Disk Adapter | ||
Skipper receiver for directories on the local filesystem | ||
[![Bower version](https://badge.fury.io/bo/skipper-disk.png)](http://badge.fury.io/bo/skipper-disk) | ||
[![NPM version](https://badge.fury.io/js/skipper-disk.png)](http://badge.fury.io/js/skipper-disk) | ||
[![Build Status](https://travis-ci.org/balderdashy/skipper-disk.svg?branch=master)](https://travis-ci.org/balderdashy/skipper-disk) | ||
Local filesystem adapter for streaming multipart uploads via Skipper. | ||
## Usage | ||
``` | ||
$ npm install skipper-disk --save | ||
``` | ||
```js | ||
// ... | ||
var adapter = require('skipper-disk')({ /* default opts */ }); | ||
var receiver = adapter.receiver({ | ||
/* per-request opts */ | ||
id: 'foo.jpg' | ||
}); | ||
req.file('foo').upload(receiver, function (err, filesUploaded) { | ||
// ... | ||
}); | ||
// :or alternatively: | ||
// req.file('foo').pipe(receiver); | ||
// ... | ||
``` | ||
======================================== | ||
## Contribute | ||
See `CONTRIBUTING.md`. | ||
======================================== | ||
### Version | ||
This repository holds the socket client SDK for Sails versions 0.10.0 and up. If you're looking for the SDK for the v0.9.x releases of Sails, the source is [located here](https://github.com/balderdashy/sails/blob/v0.9.16/bin/boilerplates/assets/js/sails.io.js). | ||
======================================== | ||
### License | ||
**[MIT](./LICENSE)** | ||
© 2014 | ||
[Mike McNeil](http://michaelmcneil.com), [Balderdash](http://balderdash.co) & contributors | ||
See `LICENSE.md`. | ||
This module is part of the [Sails framework](http://sailsjs.org), and is free and open-source under the [MIT License](http://sails.mit-license.org/). | ||
![image_squidhome@2x.png](http://i.imgur.com/RIvu9.png) | ||
[![githalytics.com alpha](https://cruel-carlota.pagodabox.com/a22d3919de208c90c898986619efaa85 "githalytics.com")](http://githalytics.com/balderdashy/sails.io.js) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9430
8
64