🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

read-browser-cookies

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

read-browser-cookies

Node.js version of `--cookies-from-browser` from yt-dlp

0.2.0
latest
Source
npm
Version published
Weekly downloads
8
33.33%
Maintainers
1
Weekly downloads
 
Created
Source

read-browser-cookies

Node.js version of --cookies-from-browser from yt-dlp

Build Status Coverage Status npm version npm downloads npm license

Install

$ pnpm add read-browser-cookies

Alternative

I'm surprised yt-dlp's usage, and create this pkg, then I found these existing alternative pkgs

Status

  • macOS + Chromium Based browsers
  • macOS + safari
  • macOS + firefox
  • windows + Chromium Based browsers
  • windows + firefox
  • Linux + Chromium Based browsers
  • Linux + firefox

current only macOS + Chromium based browsers are supported.

chromium based browser names

  • chrome
  • chromium
  • edge
  • brave
  • opera
  • vivaldi

API

import { readBrowserCookies } from 'read-browser-cookies'

// read all cookies
readBrowserCookies('chrome').then((cookiesArray) => {
  //
})

// read all cookies for specific site
// using sqlite `like %site%`
readBrowserCookies('chrome', { site: 'youtube.com' }).then((cookiesArray) => {
  //
})

Changelog

CHANGELOG.md

License

the MIT License http://magicdawn.mit-license.org

Keywords

cookies-from-browser

FAQs

Package last updated on 16 Dec 2022

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