@types/urlencode
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -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; |
{ | ||
"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). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4551
0
61
36