Socket
Socket
Sign inDemoInstall

qiao-json

Package Overview
Dependencies
0
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    qiao-json

nodejs json data


Version published
Weekly downloads
63
increased by12.5%
Maintainers
1
Install size
3.39 kB
Created
Weekly downloads
 

Readme

Source

qiao-json

npm version npm downloads

nodejs 下 qiao-z 中的 json 数据结构

usage

// commonjs
const { success, fail } = require('qiao-json');

// es6
import { success, fail } from 'qiao-json';

api

const json = success('msg', {});
console.log(json);

// success
{ type: 'success', msg: 'msg', obj: {} }

// fail
{ type: 'fail', msg: 'msg', obj: {} }

FAQs

Last updated on 23 May 2024

Did you know?

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc