Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

skipper-disk

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skipper-disk - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

.travis.yml

2

package.json
{
"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) &nbsp; &nbsp;
[![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)**
&copy; 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)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc