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

cond-flow

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

cond-flow - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "cond-flow",
"version": "0.1.1",
"version": "0.1.2",
"description": "Elixir style cond for easy javascript control flow",

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

@@ -5,10 +5,10 @@ export as namespace cond;

/**
* Disables strict checking. Default is true.
* Disables strict checking. Default is true.
* @default true
*/
*/
strict: boolean
}
declare function cond<T>(pairs: Array<[boolean, T | (() => T)]>, options: CondOptions): T | null
declare function cond<T>(pairs: Array<[boolean, T | (() => T)]>, options?: CondOptions): T | null
export default cond
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