1.0.6 • Published 3 years ago

borek v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Download Package

First you need to install the package

npm i borek

Setup Package

You can use it by importing it into the project you are using.

// es6 before
const cookie = require('borek')
// es6 after
import cookie from 'borek'

Set Cookie and Update Cookie

If you want to create a new cookie, the "name" and "value" are needed. If the cookie name is the same, it will update the existing cookie.

cookie.set(name, value)

Get Cookie

You only need the "name" to read the cookie.

cookie.get(name)
1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago