New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tinytim

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinytim - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

.npmignore

19

lib/tinytim.js
/*!
* tinytim.js
* github.com/premasagar/tim
*
*//*
tinytim.js
github.com/premasagar/tim
A tiny, secure JavaScript micro-templating script.
*//*
by Premasagar Rose
dharmafly.com
license
opensource.org/licenses/mit-license.php
**
creates global object
tim
**
v0.3.0
*/
/*
* ported and modified by LI Long <lilong@gmail.com> 3/13/2012
ported and modified by LI Long <lilong@gmail.com> 3/13/2012
*/

@@ -28,0 +15,0 @@ var start = exports.start = "{{";

@@ -5,4 +5,9 @@ {

"homepage": "http://github.com/baryon/node-tinytim",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "https://github.com/baryon/node-tinytim"
},
"version": "0.1.1",
"author": "LI Long <lilong@gmail.com>",
"license": "MIT",
"contributors": [

@@ -14,8 +19,8 @@ { "name": "Premasagar Rose", "email": "p@dharmafly.com" }

"devDependencies": {
"expresso": "0.9.2"
"mocha": "1.20.x"
},
"main": "./lib/index",
"keywords": ["template", "micro template", "tim"],
"scripts": { "test": "expresso test/*" },
"scripts": { "test": "mocha test/*" },
"engines": { "node": ">= 0.2.0" }
}
}

@@ -5,2 +5,3 @@ #tinytim for node.js [![Build Status](https://secure.travis-ci.org/baryon/node-tinytim.png)](http://travis-ci.org/baryon/node-tinytim)

##Install

@@ -22,6 +23,6 @@ -----

See [test/test.js](https://github.com/baryon/node-tinytim/blob/master/test/test.js) as example
See [test/tim-replace.js](https://github.com/baryon/node-tinytim/blob/master/test/tim-replace.js) as example
and support render and renderFile methods.
See [test/render.js](https://github.com/baryon/node-tinytim/blob/master/test/render.js) and [test/renderFile.js](https://github.com/baryon/node-tinytim/blob/master/test/renderFile.js) for details.
See [test/render-replace.js](https://github.com/baryon/node-tinytim/blob/master/test/render-replace.js) and [test/render-file-replace.js](https://github.com/baryon/node-tinytim/blob/master/test/render-file-replace.js) for details.

@@ -170,2 +171,6 @@ ```javascript

# mustache.js and Handlebars.js
tinytim is very simple, if you need a more powerful template library, see [mustache.js](http://mustache.github.com/) and [Handlebars.js](https://github.com/wycats/handlebars.js/)
## History

@@ -172,0 +177,0 @@

Sorry, the diff of this file is not supported yet

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