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

echotag

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

echotag - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

src/tmpl.js

3

package.json
{
"name": "echotag",
"version": "1.1.0",
"version": "1.2.0",
"description": "Simple & fast ES6 templates with no special syntax or transpilation",
"homepage": "https://github.com/vlucas/echotag",
"url": "https://github.com/vlucas/echotag",
"main": "index.js",

@@ -7,0 +8,0 @@ "scripts": {

@@ -34,3 +34,3 @@ # echotag.js - Simple ES6 Templates

```javascript
const tmpl = require('echotag/tmpl');
const tmpl = require('echotag').tmpl;

@@ -54,3 +54,3 @@ let content = tmpl`<div>Hello World!</div>`;

```javascript
const tmpl = require('echotag/tmpl');
const tmpl = require('echotag').tmpl;

@@ -77,3 +77,3 @@ let world = 'World';

```javascript
const tmpl = require('echotag/tmpl');
const tmpl = require('echotag').tmpl;

@@ -98,3 +98,3 @@ let world = '<blink>World</blink>';

```javascript
const tmpl = require('echotag/tmpl');
const tmpl = require('echotag').tmpl;

@@ -136,3 +136,3 @@ function layout(params = {}) {

```javascript
const tmpl = require('echotag/tmpl');
const tmpl = require('echotag').tmpl;

@@ -161,3 +161,3 @@ let data = [

const express = require('express');
const tmpl = require('echotag/tmpl');
const tmpl = require('echotag').tmpl;

@@ -164,0 +164,0 @@ // Setup Express.js

'use strict';
const tmpl = require('../tmpl.js');
const tmpl = require('../src/tmpl.js');

@@ -5,0 +5,0 @@ describe('Rendering HTML', function () {

'use strict';
const tmpl = require('../tmpl.js');
const tmpl = require('../src/tmpl.js');

@@ -5,0 +5,0 @@ describe('Rendering parameters with HTML in them', function () {

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