Socket
Book a DemoInstallSign in
Socket

jquery-envelope

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-envelope

A wrapper for jQuery's AJAX function to allow for simpler RESTful API transactions.

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

jQuery Envelope

NPM version Build Status Coverage Status Known Vulnerabilities Downloads

A wrapper for jQuery's AJAX function to allow for simpler RESTful API transactions.

Client-Side Usage

<script src="jquery-envelope.js"></script>

<script type="text/javascript">
	envelope.setBaseUrl("http://127.0.0.1:3000");

	envelope.get(
		"status",
		function(error, result) {
			if(error) {
				return console.error(error);
			}

			return console.log(result);
		}
	);
</script>

Installation

To install this module:

npm install jquery-envelope

Building

To build the distribution files for this module:

npm run build

or

gulp build

Keywords

jquery

FAQs

Package last updated on 25 May 2019

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