0.0.8 • Published 9 years ago

zero-file v0.0.8

Weekly downloads
29
License
-
Repository
-
Last release
9 years ago

zero-file

This module allow you to upload file through model create api. Notice you need install model module first.

Usage

  1. Add dependency to your module package.json file like:
{
	"name" : "YOUR_MODULE_NAME",
	"zero" : {
		"dependencies" : {
			"file" : "^0.0.1"
		}
	}
}
  1. Declare isFile in module.exports like:
module.exports = {
	models : [{
       'identity' : 'avatar',
       isFile : true
    }]
}
0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.1

10 years ago