cookie-domain-monster
v0.0.5
Published
Utility function for extracting cookie domain from a list of hosts
Downloads
8
Readme
cookie-domain-monster
A library that extracts high level cookie domains from a list of urls
Install
$ npm install cookie-domain-monster
Usage
import CookieDomainMonster from 'cookie-domain-monster';
var urls = ['http://www.honeypot.io', 'https://blog.honeypot.io']
var cookieDomains = CookieDomainMonster(urls) // ['.honeypot.io']
for more examples checkout the tests
Contributin
- Add some tests
- Add some code
- Run
npm test
- Send a pull request
License
Copyright © 2016 Honeypot GmbH. It is free software, and may be redistributed under the terms specified in the LICENSE file.
About Honeypot
Honeypot is a developer focused job platform. The names and logos for Honeypot are trademarks of Honeypot GmbH.