Socket
Socket
Sign inDemoInstall

plain-tag

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plain-tag - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "plain-tag",
"version": "0.1.0",
"version": "0.1.1",
"description": "A noop/plain JS template literal tag",

@@ -5,0 +5,0 @@ "main": "./cjs/index.js",

@@ -5,3 +5,3 @@ # plain-tag

A noop/plain JS template literal tag.
A fast, and essential, noop/plain JS template literal tag.

@@ -28,1 +28,17 @@ ```js

```
## Benchmark
Following the result of `node test/benchmark.js` after a local install of both `fake-tag` and `noop-tag`.
```
plain: 1.359ms
fake: 4.578ms
noop: 10.347ms
```
THe gist of this module fits into 89 bytes before compression.
```js
function(b){for(var c=b[0],a=1,d=arguments.length;a<d;a++)c+=arguments[a]+b[a];return c}
```
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