Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jape

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jape

Jape is a simple way to convert a JSON object to a single URI Encoded string.

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
54
decreased by-38.64%
Maintainers
1
Weekly downloads
 
Created
Source

Jape is a simple way to convert a JSON object to a single URI Encoded string. Such strings can be used in API requests when one wants to use a comfortable JSON object and get it converted to a URL friendly string. It changes (that's a space) to %20 and similar, and also supports multi-property objects by concatenating with &.

var jape = require('jape');
var jsonObject = {
    text: 'hello, tworld. welcome to 1.1.',
    screen_name: 'theseancook'
}
jape(jsonObject); //returns 'text=hello%2C%20tworld.%20welcome%20to%201.1.&screen_name=theseancook'

Keywords

FAQs

Package last updated on 28 Apr 2013

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc