Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-tpl2js

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-tpl2js - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

1

index.js

@@ -151,2 +151,3 @@ var async = require('async');

// shift optional config argument
if(arguments.length === 2 && Object.prototype.toString.call(arguments[1]) == '[object Function]') {

@@ -153,0 +154,0 @@ done = config;

4

package.json
{
"name": "angular-tpl2js",
"version": "0.0.6",
"version": "0.0.7",
"description": "Convert Angular templates to inline JavaScript",

@@ -16,3 +16,5 @@ "files": [

"chai": "^3.5.0",
"coveralls": "^2.11.9",
"gulp": "^3.9.1",
"gulp-istanbul": "^0.10.4",
"gulp-mocha": "^2.2.0",

@@ -19,0 +21,0 @@ "gulp-util": "^3.0.7",

@@ -7,3 +7,6 @@ # angular-tpl2js

[![devDependency Status](https://img.shields.io/david/dev/scniro/angular-tpl2js.svg?label=devDeps&style=flat-square)](https://david-dm.org/scniro/angular-tpl2js#info=devDependencies)
[![Coverage](https://img.shields.io/coveralls/scniro/angular-tpl2js.svg?style=flat-square)](https://coveralls.io/github/scniro/angular-tpl2js)
[![Climate](https://img.shields.io/codeclimate/github/scniro/angular-tpl2js.svg?label=climate&style=flat-square)](https://codeclimate.com/github/scniro/angular-tpl2js)
## Install

@@ -23,3 +26,4 @@

tpl2js.inline('/js/directive.js', function (err, result) {
// result = directive.js with template inline
// directive.js with inline template
});

@@ -41,2 +45,12 @@ ```

}
```
***
```javascript
tpl2js.inline('/js/directive.js', {include: true}, function (err, result) {
// directive.js with inline template: ng-include parsed
});
```
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