gravatar:用于为node.js和浏览器生成gravatars的modella插件
头像用于为node.js和浏览器生成头像的modella插件。安装在浏览器中(使用组件): component install modella/gravatar在服务器上: npm install modella-gravatar例子var User = model ( 'user' ) . attr ( 'name' ) . attr ( 'email' ) . attr ( 'password' ) ; User . use ( gravatar ( 'email' , 'avatar' ) ) ; var user = new User ( { name : 'matt' , email : 'mattmuelle@gmail.com' , password : 'test' } ) ; user . save ( functio
gravatar-master.zip
预估大小:10个文件
gravatar-master
文件夹
Readme.md
539B
lib
文件夹
modella-gravatar.js
文件夹
test.js
430B
.npmignore
29B
History.md
396B
Makefile
89B
component.json
277B
.gitignore
17B
3.32KB
文件大小:
评论区