Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit 44fbb7ee2ff847be3be216c4357049a1fff0670d @tj tj committed Apr 7, 2011
Showing with 78 additions and 0 deletions.
  1. +3 −0 .npmignore
  2. +5 −0 History.md
  3. +5 −0 Makefile
  4. +29 −0 Readme.md
  5. +2 −0 index.js
  6. +12 −0 lib/express-expose.js
  7. +9 −0 package.json
  8. +13 −0 test/express-expose.test.js
@@ -0,0 +1,3 @@
+support
+test
+examples
@@ -0,0 +1,5 @@
+
+0.0.1 / 2010-01-03
+==================
+
+ * Initial release
@@ -0,0 +1,5 @@
+
+test:
+ @echo "populate me"
+
+.PHONY: test
@@ -0,0 +1,29 @@
+
+# express-expose
+
+ Expose helpers and local variables to the client-side
+
+## License
+
+(The MIT License)
+
+Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,2 @@
+
+module.exports = require('./lib/express-expose');
@@ -0,0 +1,12 @@
+
+/*!
+ * express-expose
+ * Copyright(c) 2011 TJ Holowaychuk <tj@vision-media.ca>
+ * MIT Licensed
+ */
+
+/**
+ * Library version.
+ */
+
+exports.version = '0.0.1';
@@ -0,0 +1,9 @@
+{ "name": "express-expose"
+ , "version": "0.0.1"
+ , "description": "Expose helpers and local variables to the client-side"
+ , "keywords": ["express"]
+ , "author": "TJ Holowaychuk <tj@vision-media.ca>"
+ , "dependencies": {}
+ , "main": "index"
+ , "engines": { "node": "0.4.x" }
+}
@@ -0,0 +1,13 @@
+
+/**
+ * Module dependencies.
+ */
+
+var express-expose = require('express-expose')
+ , should = require('should');
+
+module.exports = {
+ 'test .version': function(){
+ express-expose.version.should.match(/^\d+\.\d+\.\d+$/);
+ }
+};

0 comments on commit 44fbb7e

Please sign in to comment.