Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@iamsquare/cookie-parse

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iamsquare/cookie-parse

Cookie string/file parse utilities.

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by600%
Maintainers
1
Weekly downloads
 
Created
Source

NPM GitHub issues GitHub License NPM

Basic cookie string/file parse utilities.

Getting started

Cookie-Parse utilities can be used in both browsers and Node.js:

Install Cookie-Parse by using npm:

npm i @iamsquare/cookie-parse

Since this library is compiled from Typescript, type definition files are provided by default. No additional @types installation required!

Documentation

You can check the documentation here

Building

Just clone this repo and build the library:

git clone --depth=0 https://github.com/iamsquare/cookie-parse
cd cookie-parse/
npm i
npm run prod

npm run prod will run Jest and build the library only if it passes all tests. To build without testing:

npm run build

TODO list

  • Documentation.
  • ParsedCookie serialization.
  • Check edge cases.
  • Add examples.
  • Migrate tests to typescript when I resolve some issues with typescript and custom jest matchers.

Built With

Licensing

The code in this project is licensed under MIT License.

Keywords

FAQs

Package last updated on 02 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc