forked from JSBizon/file-cookie-store
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit e64d9a3
Showing
8 changed files
with
1,191 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
language: node_js | ||
node_js: | ||
- "0.10" | ||
- "0.11" | ||
before_install: npm install -g grunt-cli | ||
install: npm install | ||
before_script: grunt build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module.exports = function(grunt) { | ||
|
||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.loadNpmTasks('grunt-mocha-test'); | ||
|
||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
jshint: { | ||
options: { | ||
node: true | ||
}, | ||
main : ["index.js"] | ||
}, | ||
mochaTest: { | ||
options: { | ||
reporter: 'spec' | ||
}, | ||
src: ['test/*.test.js'] | ||
} | ||
}); | ||
|
||
grunt.registerTask('default', 'jshint:main', 'mochaTest'); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# node-cookiejar-storefile | ||
|
||
## Objective | ||
|
||
|
||
|
||
## Usage | ||
|
||
## Netscape's cookie.txt file | ||
http://www.cookiecentral.com/faq/#3.5 | ||
|
||
The layout of Netscape's cookies.txt file is such that each line contains one name-value pair. An example cookies.txt file may have an entry that looks like this: | ||
|
||
.netscape.com TRUE / FALSE 946684799 NETSCAPE_ID 100103 | ||
|
||
Each line represents a single piece of stored information. A tab is inserted between each of the fields. | ||
|
||
From left-to-right, here is what each field represents: | ||
|
||
domain - The domain that created AND that can read the variable. | ||
flag - A TRUE/FALSE value indicating if all machines within a given domain can access the variable. This value is set automatically by the browser, depending on the value you set for domain. | ||
path - The path within the domain that the variable is valid for. | ||
secure - A TRUE/FALSE value indicating if a secure connection with the domain is needed to access the variable. | ||
expiration - The UNIX time that the variable will expire on. UNIX time is defined as the number of seconds since Jan 1, 1970 00:00:00 GMT. | ||
name - The name of the variable. | ||
value - The value of the variable. | ||
|
||
|
||
|
||
## Developing | ||
|
||
|
||
|
||
### Tools | ||
|
Oops, something went wrong.