@types/base64-js
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -1,7 +0,1 @@ | ||
// Type definitions for base64-js 1.3 | ||
// Project: https://github.com/beatgammit/base64-js | ||
// Definitions by: Peter Safranek <https://github.com/pe8ter> | ||
// Piotr Błażejewicz <https://github.com/peterblazejewicz> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/** | ||
@@ -8,0 +2,0 @@ * Takes a base64 string and returns length of byte array |
{ | ||
"name": "@types/base64-js", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "TypeScript definitions for base64-js", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/base64-js", | ||
"license": "MIT", | ||
@@ -9,9 +10,9 @@ "contributors": [ | ||
"name": "Peter Safranek", | ||
"url": "https://github.com/pe8ter", | ||
"githubUsername": "pe8ter" | ||
"githubUsername": "pe8ter", | ||
"url": "https://github.com/pe8ter" | ||
}, | ||
{ | ||
"name": "Piotr Błażejewicz", | ||
"url": "https://github.com/peterblazejewicz", | ||
"githubUsername": "peterblazejewicz" | ||
"githubUsername": "peterblazejewicz", | ||
"url": "https://github.com/peterblazejewicz" | ||
} | ||
@@ -28,4 +29,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "e6bd0df8b11e91971b368458cd8efd876cd22efd2530529d73b9e810725d15bd", | ||
"typeScriptVersion": "3.0" | ||
"typesPublisherContentHash": "55a7641bb2d9923cf92b259c1bc3835a179dfa691541ba198e7592bfc72781e9", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -9,9 +9,29 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/base64-js. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/base64-js/index.d.ts) | ||
````ts | ||
/** | ||
* Takes a base64 string and returns length of byte array | ||
*/ | ||
export function byteLength(encoded: string): number; | ||
/** | ||
* Takes a base64 string and returns a byte array | ||
*/ | ||
export function toByteArray(encoded: string): Uint8Array; | ||
/** | ||
* Takes a byte array and returns a base64 string | ||
*/ | ||
export function fromByteArray(bytes: Uint8Array): string; | ||
/** | ||
* base64-js does basic base64 encoding/decoding in pure JS. | ||
*/ | ||
export as namespace base64js; | ||
```` | ||
### Additional Details | ||
* Last updated: Sat, 30 May 2020 11:37:42 GMT | ||
* Last updated: Tue, 17 Oct 2023 22:10:13 GMT | ||
* Dependencies: none | ||
* Global values: `base64js` | ||
# Credits | ||
These definitions were written by [Peter Safranek](https://github.com/pe8ter), and [Piotr Błażejewicz](https://github.com/peterblazejewicz). |
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
3670
0
37
16