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

canvasor

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canvasor

simple engine for animation

latest
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

Url Query工具

提供es6,amd,commonjs,umd版本

Getting Started

$ npm install @mi/query

API

add

option描述
url操作的url
key可传入两种参数:1. Object:直接序列化;2. String:需要增加第三个value参数;
valuequery key

get

option描述
name获取query值

Usage

//es6:
import * as query from '../query.js';
query.add('http://mi.com', 'name', 'hello');
query.add('name', {
	name: 'hello',
	page: 1
});
query.get('name');

//commonjs
var query = require('../query-commonjs.js');
query.add('http://mi.com', 'name', 'hello');
query.add('name', {
	name: 'hello',
	page: 1
});
query.get('name');

//amd umd
...

Keywords

canvasor

FAQs

Package last updated on 25 Oct 2016

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