Socket
Socket
Sign inDemoInstall

polr-api

Package Overview
Dependencies
47
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.4 to 1.1.5

2

package.json
{
"name": "polr-api",
"version": "1.1.4",
"version": "1.1.5",
"description": "A simple API wrapper for polr-powered URL shortners.",

@@ -5,0 +5,0 @@ "main": "polr.js",

@@ -28,3 +28,3 @@ polr-api is a little API wrapper for your own polr-powered URL shortening service.

polrApi = new polr.Api("server hostname", "polr API key", "protocol(optional)")
polr.shorten("link", function(res){
polrApi.shorten("link", function(res){
console.log(res);

@@ -39,5 +39,5 @@ });

polrApi = new polr.Api("server hostname", "polr API key", "protocol(optional)")
polr.shortenCustom("link", "custom ending", function(res){
polrApi.shortenCustom("link", "custom ending", function(res){
console.log(res);
});
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc