1.1.0 • Published 2 years ago
@ponsetya/browser v1.1.0
They are the most frequently used and needed lightweight utility tools in browser-based projects.
You can use the media and library independently.
Installation
For using the yarn package manager.
yarn add @ponsetya/browser
For using the npm.
npm install @ponsetya/browser
Import
By default you can include all api and functions.
import browser from '@ponsetya/browser'
Use APIs
import { cookie } '@ponsetya/browser'
cookie.set('name', 'John Doe')
console.log(cookie.get('name')) // John Doe
License
Released under the MIT License.