You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

permid-proxy

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

permid-proxy

> The very simple proxy for https://permid.org service

0.1.1
latest
npmnpm
Version published
Maintainers
1
Created
Source

permid-proxy

The very simple proxy for https://permid.org service

Installation

Run the command:

yarn install permid-proxy

Usage

PermID token

The service accepts only requests with the PermID token provided.

Here is how to get it:

  • Go to https://permid.org website,
  • Authorise there,
  • Click API link in the top right corner,
  • Click Display my API token

Store the token string securely and provide it to the permid-proxy app in PERMID_TOKEN process argument.

Running

Start the app with the command in the project root:

node node_modules\permid-proxy\index.js --PERMID_TOKEN <token> --PORT 2222 --HOST 127.0.0.1

where is the PermID API token you've got as described above.

Parameters

  • PERMID_TOKEN: Required. The service fails to start without it.
  • HOST: Optional. Default: localhost
  • PORT: Optional. Default: 1380.

Query

Query the service with the link: http://localhost:1380/api/permid/search?q=TRI where TRI is the search term.

Contributing

Feel free to extend, fix and improve the service.

License

The project is distributed under the GNU GENERAL PUBLIC LICENSE.

FAQs

Package last updated on 17 Apr 2018

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