Socket
Socket
Sign inDemoInstall

qiao-json

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qiao-json

nodejs json data


Version published
Weekly downloads
10
increased by900%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 23 May 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc