npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

aezakmi-puppeteer

v1.0.1

Published

puppeteer module for interacting with api and aezakmi browser extension

Downloads

4

Readme

Aezakmi-Puppeteer

This package provides functions for convenient interaction with the Aezakmi antidetect browser from Puppeteer.

Here are collected methods both for working with our server API, and for interacting with the browser itself during the execution of scripts.

For more detailed information about the browser for spoofing computer prints - visit our website https://aezakmi.run/

For information on our server-side API methods visit the documentation https://aezakmi.helpdocs.io/l/en/article/92r9unl9qt-untitled-article-en

For advice or suggestions for improvement, write to us in telegram @aezakmisupport

Variables needed for work and how to get them

To get started, you must receive the following data from our system

token

The API Key can be obtained by opening the drop-down window using the extension button.

You must right-click on the extension work area and select "View code"

Then - in the window that appears - you need to go to the "Console" tab, and enter there:

localStorage.getItem("token")

The resulting value is the Api Key

extensionId

Every plugin in chrome is a web page made in html, css, js. We need to get the URL of such a page for the Aezakmi plugin.

To do this, right-click on the plugin in the browser bar and click on "Manage extensions"

A page will open at the end of which the extension id will be indicated. In my case it looks like this

chrome://extensions/?id=fmklgidcemllamkndiefdhnkjgmommce

fmklgidcemllamkndiefdhnkjgmommce is a extensionId

Usage

const aezakmi = require('aezakmi-puppeteer');

Methods


createProfile

aezakmi.createProfile(name, os, browser, width, height, proxyProtocol, proxyIP, proxyPort, login, token)
  • STRING name - random profileName
  • STRING os - fingerprint operating system
osArray = ["Windows", "Mac OS"];

STRING browser - fingerprint browser

browsersArray = ["Chrome", "Opera"];
  • INT width - screen width
  • INT height - screen height
screenArray = [[1920,1080],[1280,1024],[1600,900]];
  • STRING proxyProtocol - "http" or "socks5" / "" (empty line)
  • STRING proxyIP - ip or domain / "" (empty line)
  • INT/STRING proxyPort - port number / "" (empty line)
  • STRING login - your aezakmi login
  • STRING token - your aezakmi token

getProfile

aezakmi.getProfile(name, login, token)
  • STRING name - profileName
  • STRING login - your aezakmi login
  • STRING token - your aezakmi token

deleteProfile

aezakmi.deleteProfile(name, login, token)
  • STRING name - profileName
  • STRING login - your aezakmi login
  • STRING token - your aezakmi token

saveSession

aezakmi.saveSession(browser, extensionId)
  • OBJECT browser - your puppeteer browser object
  • STRING extensionId - your extension id

startSession

aezakmi.startSession(userProfile, browser, extensionId)
  • OBJECT userProfile - The object returned by the getProfile() method
  • OBJECT browser - your puppeteer browser object
  • STRING extensionId - your extension id

checkProfileStatus

aezakmi.checkProfileStatus(browser, extensionId)
  • OBJECT browser - your puppeteer browser object
  • STRING extensionId - your extension id

loginAezakmi

aezakmi.loginAezakmi(token, browser, extensionId)
  • OBJECT browser - your puppeteer browser object
  • STRING extensionId - your extension id

graph TD
Z>Open Browser] -->A
A[loginAezakmi]-->B(createProfile)
B-->C(getProfile)
C-->|save profile obj to variable|D[startSession]
D-->E{checkProfileStatus}
    E -->|true| L[[Run your puppeteer script]]
    E -->|false| D
L-->F{{Will this fingerprint and cookies be useful to you in the future?}}
    F -->|Yes| J[saveSession]
    F -->|No| K(deleteProfile)
J-->M>Close Browser]
K-->M
M-->Z