@mybricks/code-generator
TypeScript icon, indicating that this package has built-in type declarations

1.0.13 • Public • Published

code-generator

搭建出码

import codeGenerator from '@mybricks/code-generator'

// target = 'react' | 'weapp'
const codeResult = codeGenerator.generateCode({ toJson: json, target: 'react' })

console.log(codeResult)

/@mybricks/code-generator/

    Package Sidebar

    Install

    npm i @mybricks/code-generator

    Weekly Downloads

    19

    Version

    1.0.13

    License

    none

    Unpacked Size

    761 kB

    Total Files

    8

    Last publish

    Collaborators

    • moyukai
    • zhuba-ahhh
    • tangxiaoxin
    • cocolbell
    • yingpengsha
    • z35635
    • letterletter
    • zeeker
    • jidan.wd
    • stuzhaoxing
    • leo306
    • godstream
    • leon_js
    • mybricks-group