Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

now module exports package.json version

On branch master
Changes to be committed:
modified:   lib/formaline.js
modified:   package.json
  • Loading branch information...
commit e242cdbc7355712cfbc4b8ce0fd227bd3684ed8c 1 parent 2930d57
@rootslab rootslab authored
Showing with 3 additions and 7 deletions.
  1. +1 −5 lib/formaline.js
  2. +2 −2 package.json
View
6 lib/formaline.js
@@ -4,11 +4,7 @@
* MIT Licensed
*/
-/**
- * Library version 0.6.5
- */
-
-exports.version = '0.6.5';
+exports.version = require( '../package' ).version;
var fs = require( 'fs' ),
crypto = require( 'crypto' ),
View
4 package.json
@@ -1,7 +1,7 @@
{
"name" : "formaline"
- , "version" : "0.6.5"
- , "description" : "formaline is a full-featured low-level module for handling form requests ( HTTP POST / PUT ) and for fast parsing of file uploads, it is also ready to use with middlewares like connect"
+ , "version" : "0.6.6"
+ , "description" : "formaline, a module for handling form requests ( HTTP POST / PUT ) and for fast parsing of file uploads, it is also ready to use with middlewares like connect"
, "homepage" : "https://github.com/rootslab/formaline"
, "repository" : {
"type" : "git"
Please sign in to comment.
Something went wrong with that request. Please try again.