@roelandtsw/cookie-master
TypeScript icon, indicating that this package has built-in type declarations

1.0.14 • Public • Published

@roelandtsw/cookie-master

The cookie master API is created to clear cookies in electron app (node.js layer) It is a capacitor plugin

Install

npm install @roelandtsw/cookie-master
npx cap sync

Example

let oMessage = await CapacitorCustomPlatform.plugins.CookieMaster.clearCookies();
console.log(oMessage);


let oMessage = await CapacitorCustomPlatform.plugins.CookieMaster.getCookies();
console.log(oMessage);

API

getCookies()

getCookies() => Promise<Cookies>

Return all cookies from the node.js layer (electron)

Returns: Promise<Cookies>

Since: 1.0.0


clearCookies()

clearCookies() => Promise<Cookies>

Clear all cookies on the node.js layer (electron)

Returns: Promise<Cookies>

Since: 1.0.0


Interfaces

Cookies

Prop Type Description Since
d any Generic message interface 1.0.0

Package Sidebar

Install

npm i @roelandtsw/cookie-master

Weekly Downloads

0

Version

1.0.14

License

MIT

Unpacked Size

16.7 kB

Total Files

20

Last publish

Collaborators

  • roelandtsw