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

@symatem/query

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symatem/query

queries within SymatemJS

  • 3.1.14
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
Maintainers
2
Weekly downloads
 
Created
Source

npm License minified size downloads semantic-release Styled with prettier Commitizen friendly

@symatem/query

Queries within SymatemJS

import { SymatemQueryMixin } from "@symatem/query";

...

const backend = await new SymatemQueryMixin(RustWasmBackend);

const {isa} = myRootSymbols;
const { A, baseType } = backend.placeholders(recordingNamespace, {A:undefined, baseType: 'baseType'});

for(const result of backend.query([
    [A, isa, B],
    [B, isa, baseType]
    ]))
    {
        console.log(result.get(A),result.get(B));
    }

API

Table of Contents

SymatemQueryMixin

Extend the backend with the query functionality.

Parameters

  • base function prototype of the backend class to extend

license

BSD-2-Clause

FAQs

Package last updated on 16 Nov 2020

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

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