browser-cookies
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "browser-cookies", | ||
"description": "Tiny cookies library for the browser", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "browser-cookies.js", | ||
@@ -41,3 +41,3 @@ "files": [ | ||
}, | ||
"license": "Public Domain", | ||
"license": "Unlicence", | ||
"repository": { | ||
@@ -55,4 +55,4 @@ "type": "git", | ||
"browserify", | ||
"RFC6265" | ||
"rfc6265" | ||
] | ||
} |
@@ -1,5 +0,8 @@ | ||
![browser-cookies][logo-url] | ||
<img width="425" height="200" src="https://raw.githubusercontent.com/voltace/browser-cookies/master/browser-cookies.png"/> | ||
# browser-cookies | ||
**Tiny cookies library for the browser** | ||
[![NPM Version][npm-version-image]][npm-url] | ||
[![NPM Downloads][npm-downloads-image]][npm-url] | ||
[![Build Status][travis-image]][travis-url] | ||
@@ -31,6 +34,8 @@ [![Coveralls Status][coveralls-image]][coveralls-url] | ||
### Installation | ||
```javascript | ||
npm install browser-cookies | ||
``` | ||
Using NPM | ||
`npm install browser-cookies` | ||
Using Bower | ||
`bower install browser-cookies` | ||
### Usage | ||
@@ -128,4 +133,3 @@ ```javascript | ||
- Distribution: | ||
- Generate downloadable minified file for CommonJS? | ||
- Create builds for other loaders (AMD?) and for use without a loader. | ||
- Generate build (development build + minified version) for use without a loader. | ||
- Cross browser consistency: | ||
@@ -151,3 +155,5 @@ - When a domain is not specified most browsers only allow an exact domain match, but [IE sends cookies to all subdomains](http://erik.io/blog/2014/03/04/definitive-guide-to-cookie-domains/). Perhaps save cookies to all subdomains by default for consistent behavior amongst all browsers? Would need to investigate whether something like window.location.hostname is cross-browser supported though. Or check how other cookie libs solved this. But first of all need to decide on the desired behavior. | ||
[logo-url]: https://raw.githubusercontent.com/voltace/browser-cookies/master/browser-cookies.png | ||
[npm-url]: https://npmjs.org/package/browser-cookies | ||
[npm-version-image]: http://img.shields.io/npm/v/browser-cookies.svg | ||
[npm-downloads-image]: http://img.shields.io/npm/dm/browser-cookies.svg | ||
@@ -154,0 +160,0 @@ [travis-url]: https://travis-ci.org/voltace/browser-cookies |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13251
168