New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

logic-weaver

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logic-weaver

LOGIC WEAVER

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

TITLE

LOGIC WEAVER

WHAT?

A LOGIC TOOL THAT READS PLAIN ENGLISH-LIKE RULES (LIKE "AGE > 18 AND HASLICENSE == TRUE") AND CHECKS IF THEY ARE TRUE BASED ON YOUR DATA.

EXAMPLE USE

import { logicWeaver } from 'logic-weaver';

const context = { age: 22, hasLicense: true, isStudent: false }; const rule = 'age > 18 AND hasLicense == true AND isStudent == false';

console.log(logicWeaver(rule, context)); // true

Keywords

logic

FAQs

Package last updated on 28 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts