@types/base64-js
Advanced tools
Comparing version 1.2.5 to 1.3.0
@@ -1,8 +0,23 @@ | ||
// Type definitions for base64-js 1.2 | ||
// 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 | ||
/** | ||
* 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; |
{ | ||
"name": "@types/base64-js", | ||
"version": "1.2.5", | ||
"description": "TypeScript definitions for base64-js 1.2", | ||
"version": "1.3.0", | ||
"description": "TypeScript definitions for base64-js", | ||
"license": "MIT", | ||
"author": "Peter Safranek <https://github.com/pe8ter>", | ||
"contributors": [ | ||
{ | ||
"name": "Peter Safranek", | ||
"url": "https://github.com/pe8ter", | ||
"githubUsername": "pe8ter" | ||
}, | ||
{ | ||
"name": "Piotr Błażejewicz", | ||
"url": "https://github.com/peterblazejewicz", | ||
"githubUsername": "peterblazejewicz" | ||
} | ||
], | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/base64-js" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"peerDependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "359c9d66a25f21a130733e1ebecada07cf1201d883220fcfa0418b463f6e13c1" | ||
"typesPublisherContentHash": "e6bd0df8b11e91971b368458cd8efd876cd22efd2530529d73b9e810725d15bd", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -5,15 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for base64-js 1.2 (https://github.com/beatgammit/base64-js). | ||
This package contains type definitions for base64-js (https://github.com/beatgammit/base64-js). | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/base64-js | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/base64-js. | ||
Additional Details | ||
* Last updated: Thu, 20 Oct 2016 20:45:15 GMT | ||
* File structure: ProperModule | ||
* Library Dependencies: none | ||
* Module Dependencies: none | ||
* Global values: none | ||
### Additional Details | ||
* Last updated: Sat, 30 May 2020 11:37:42 GMT | ||
* Dependencies: none | ||
* Global values: `base64js` | ||
# Credits | ||
These definitions were written by Peter Safranek <https://github.com/pe8ter>. | ||
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
3324
21
17