You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@dom-builder/engine

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

@dom-builder/engine

## Introduction

0.1.1
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Engine

Introduction

Dom Builder is an open-source project designed for processing JSON files and creating dynamic pages. This project leverages the power of NextJS and React to offer a seamless development experience for building interactive and dynamic web applications.

Disclaimer

We are testing this package yet, and we are not using in production, but you can check in:

https://engine-two.vercel.app

Installation

yarn add @dom-builder/engine

Usage

import { PageBuilder } from '@dom-builder/builder';

export function DynamicPage() {
    return (
        <PageBuilder builderSchema={schema} page={slug} />
    );
}

You can also check the apps/example folder.

Schema

The page and components schema is very simple and recursive. You can check the Contract on packages/builder/src/lib/types.ts, and the demo example on apps/example/src/utils/base_schema.json.

FAQs

Package last updated on 22 Feb 2024

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