🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

@builder.io/sdk

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
b

@builder.io/sdk

## Getting Started

1.1.23-2
99

Supply Chain Security

100

Vulnerability

82

Quality

100

Maintenance

100

License

Uses eval

Supply chain risk

Package uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.

Found 2 instances in 2 packages

Network access

Supply chain risk

This module accesses the network.

Found 2 instances in 2 packages

Version published
Weekly downloads
0
Maintainers
6
Weekly downloads
 
Created
Issues
103

Builder Core

Getting Started

import { builder } from '@builder.io/sdk';

builder.init(YOUR_KEY);

// Optional custom targeting
builder.setUserAttributes({
  userIsLoggedIn: true,
  whateverKey: 'whatever value',
});

builder
  .get(YOUR_MODEL_NAME, {
    // Optional custom query
    query: {
      'data.customField.$gt': 100,
    },
  })
  .promise()
  .then(({ data }) => {
    // Do something with the data
  });

// Turn of cookies/tracking
builder.canTrack = false;

More docs are coming soon!

If you have questions or comments, don't hesitate to reach out by creating an issue or emailing steve@builder.io

FAQs

Package last updated on 24 May 2021

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