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

lazy-ass

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lazy-ass - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

bower.json
{
"name": "lazy-ass",
"main": "index.js",
"version": "0.1.1",
"version": "0.1.2",
"homepage": "https://github.com/bahmutov/lazy-ass",

@@ -6,0 +6,0 @@ "license": "MIT",

{
"name": "lazy-ass",
"description": "Lazy assertions without performance penalty",
"version": "0.1.1",
"version": "0.1.2",
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",

@@ -6,0 +6,0 @@ "bugs": {

@@ -29,2 +29,20 @@ # lazy-ass

## Install
Node: `npm install lazy-ass --save` then `var lazyAss = require('lazy-ass');`
Browser: `bower install lazy-ass --save`, makes function available as `window.lazyAss`.
## Notes
You can pass as many arguments to *lazyAss* after the condition. The condition
will be evaluated every time (this is required for any assertion). The rest of arguments
will be concatenated according to rules
* string will be left unchanged.
* function will be called and its output will be concatenated.
* any array or object will be JSON stringified.
There will be single space between the individual parts.
### Small print

@@ -31,0 +49,0 @@

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