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

@tbmini/code-genarator

Package Overview
Dependencies
Maintainers
7
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tbmini/code-genarator

生成代码

latest
npmnpm
Version
1.7.1
Version published
Maintainers
7
Created
Source

id: code-genarator

根据api-transform转化出的api-tree 生成S端 代码api层代码

Install

npm i -s @tbmini/code-genarator
// or
yarn add @tbmini/code-genarator

Usage

import { Compiler } from '@tbmini/code-genarator'

const complier = new Compiler()
const code = complier.compileApi(apiConfig)

Methods

NameTypeDescription
compileApi(apiConfig:IApiConfig)=> string根据api-tree编译controller代码

FAQs

Package last updated on 27 May 2022

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