New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

purified-protos

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

purified-protos

Deobfuscate useful fields in POGOProtos

latest
npmnpm
Version
0.195.0
Version published
Weekly downloads
6
500%
Maintainers
1
Weekly downloads
 
Created
Source

Purified Protos

The JS library that pulls from Furtif's POGOProtos and undo the obfuscation and Furtif's questionable design choices to make the protobuf usable in Javascript. The aim of this project is to provide a list of stable APIs to use in your JS projects.

Usage:

const protos = await require('purified-protos')();
// or use this if you want to live on the edge and risk Furtif breaking stuff
// cached can be used to disable cache, default: true
const protos = await require('purified-protos')({ version: 'master', cached: false });

console.log(protos.PokemonDisplayProto.Form.RUNERIGUS_NORMAL);  // prints 2516

A list of supported APIs can be found in the test.js.

Version code

The version code for this library follows semantic versioning. In particular, major.minor will follow the upstream proto version, and revision represents internal revision of the proto and is uncorrelated from upstream.

FAQs

Package last updated on 04 Jan 2021

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