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

@types/urlencode

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/urlencode - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

5

urlencode/index.d.ts

@@ -1,6 +0,1 @@

// Type definitions for urlencode 1.1
// Project: https://github.com/node-modules/urlencode
// Definitions by: kimcoder <https://github.com/kimcoder>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface charsetParam {

@@ -7,0 +2,0 @@ charset: string;

11

urlencode/package.json
{
"name": "@types/urlencode",
"version": "1.1.2",
"version": "1.1.3",
"description": "TypeScript definitions for urlencode",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/urlencode",
"license": "MIT",

@@ -9,4 +10,4 @@ "contributors": [

"name": "kimcoder",
"url": "https://github.com/kimcoder",
"githubUsername": "kimcoder"
"githubUsername": "kimcoder",
"url": "https://github.com/kimcoder"
}

@@ -23,4 +24,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "afe7bdb9970f920151e8f3c476a4bd11a7942338f3dba515aced33d4e4795dda",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "4db5df91d1a4244b6da33099d0d02a8e9dc81acd176301775654dcdc27a498e0",
"typeScriptVersion": "4.5"
}

@@ -9,9 +9,53 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/urlencode.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/urlencode/index.d.ts)
````ts
interface charsetParam {
charset: string;
}
/**
* Encode string
* @param str The string for encoding.
*/
declare function urlencode(str: string, charset?: string): string;
declare namespace urlencode {
/**
* Encode string
* @param str The string for encoding.
*/
function encode(str: string, charset?: string): string;
/**
* Decode string
* @param encodedString The encoded string.
*/
function decode(encodedString: string, charset?: string): string;
/**
* Parse querystring
* @param queryString Querystring
* @param charsetParam The charset for parsing
*/
function parse(queryString: string, charsetParam: charsetParam): any;
interface charsetParam {
charset: string;
}
/**
* Stringify object
* @param obj Query Object
* @param charsetParam The charset for parsing
*/
function stringify(obj: any, prefix?: charsetParam, charsetParam?: charsetParam): string;
}
export = urlencode;
````
### Additional Details
* Last updated: Fri, 15 May 2020 13:12:51 GMT
* Last updated: Wed, 18 Oct 2023 11:45:07 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by [kimcoder](https://github.com/kimcoder).
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