Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/silkimen/umd-tough-cookie
UMD version of tough-cookie
https://github.com/silkimen/umd-tough-cookie
Last synced: 8 days ago
JSON representation
UMD version of tough-cookie
- Host: GitHub
- URL: https://github.com/silkimen/umd-tough-cookie
- Owner: silkimen
- License: mit
- Created: 2016-12-01T16:18:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-27T02:20:08.000Z (almost 5 years ago)
- Last Synced: 2024-10-08T05:04:41.551Z (29 days ago)
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UMD version of [salesforce/tough-cookie](https://github.com/salesforce/tough-cookie)
[![npm version](https://badge.fury.io/js/umd-tough-cookie.svg)](https://badge.fury.io/js/umd-tough-cookie)
[![Build Status](https://travis-ci.org/silkimen/umd-tough-cookie.svg?branch=master)](https://travis-ci.org/silkimen/umd-tough-cookie)This is a UMD (Universal module definition) version of the popular CommonJS module "tough-cookie". It's meant to be used in the browser.
If you need to run this in node.js environment, it's recommended using the original CommonJS version.## Installation
with npm, run: `npm install umd-tough-cookie`
## Loading the module
There are two options for loading this module. Either you can use a AMD module loader (e.g. require.js), or you can just load it with a script tag. If you load it via script tag, then a global object "ToughCookie" will be exported.
## Usage
See [here](https://github.com/salesforce/tough-cookie) for API documentation and how to use this module.