【文件属性】:
文件名称:parse-cookie-phantomjs:解析cookie以在PhantomJS中使用
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-26 03:42:31
nodejs parse phantomjs cookie npm-package
不推荐使用
解析cookie-phantomjs
解析cookie以在PhantomJS中使用
接受一个cookie字符串,并返回一个准备好传递给 。
安装
$ npm install --save parse-cookie-phantomjs
用法
var parseCookiePhantomjs = require ( 'parse-cookie-phantomjs' ) ;
parseCookiePhantomjs ( 'foo=bar; Path=/; Domain=localhost' ) ;
/*
{
name: 'foo',
value: 'bar',
domain: 'localhost',
path: '/',
httponly: false,
secure: false,
expires: 'Infinity'
}
*/
执照
麻省理工学院:copyright:
【文件预览】:
parse-cookie-phantomjs-main
----.jshintrc(190B)
----.gitattributes(12B)
----test.js(193B)
----license(1KB)
----.travis.yml(72B)
----.editorconfig(242B)
----.gitignore(13B)
----index.js(481B)
----readme.md(869B)
----package.json(648B)