@types/msgpack
Advanced tools
| // Type definitions for msgpack.js - MessagePack JavaScript Implementation | ||
| // Project: https://github.com/uupaa/msgpack.js/ | ||
| // Definitions by: Shinya Mochizuki <https://github.com/enrapt-mochizuki/> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| interface MsgPackStatic { | ||
| /** | ||
| * @param data string or ByteArray. | ||
| * @param toString return string value if true. | ||
| * | ||
| * @return string or ByteArray or false. pack failed if false. | ||
| */ | ||
| pack(data: any, toString?: boolean): any; | ||
| /** | ||
| * @param data string or ByteArray. | ||
| * | ||
| * @return string or ByteArray or undefined. unpack failed if undefined. | ||
| */ | ||
| unpack(data: any): any; | ||
| worker: string; | ||
| upload(url: string, option: MsgPackUploadOption, callback: MsgPackUploadCallback): void; | ||
| download(url: string, option: MsgPackDownloadOption, callback: MsgPackDownloadCallback): void; | ||
| } | ||
| interface MsgPackUploadOption { | ||
| /** | ||
| * string or ByteArray | ||
| */ | ||
| data: any; | ||
| /** | ||
| * use WebWorker if true. | ||
| */ | ||
| worker?: boolean; | ||
| /** | ||
| * timeout sec. | ||
| */ | ||
| timeout?: number; | ||
| before?: (xhr: XMLHttpRequest, option: MsgPackUploadOption) => void; | ||
| after?: (xhr: XMLHttpRequest, option: MsgPackUploadOption, result: MsgPackCallbackResult) => void; | ||
| } | ||
| interface MsgPackUploadCallback { | ||
| (data: string, option: MsgPackUploadOption, result: MsgPackCallbackResult): void; | ||
| } | ||
| interface MsgPackDownloadOption { | ||
| /** | ||
| * use WebWorker if true. | ||
| */ | ||
| worker?: boolean; | ||
| /** | ||
| * timeout sec. | ||
| */ | ||
| timeout?: number; | ||
| before?: (xhr: XMLHttpRequest, option: MsgPackDownloadOption) => void; | ||
| after?: (xhr: XMLHttpRequest, option: MsgPackDownloadOption, result: MsgPackCallbackResult) => void; | ||
| } | ||
| interface MsgPackDownloadCallback { | ||
| /** | ||
| * @param data string or ByteArray | ||
| */ | ||
| (data: any, option: MsgPackDownloadCallback, result: MsgPackCallbackResult): void; | ||
| } | ||
| interface MsgPackCallbackResult { | ||
| status: number; | ||
| ok: boolean; | ||
| } | ||
| declare var msgpack: MsgPackStatic; |
| { | ||
| "name": "@types/msgpack", | ||
| "version": "0.0.28", | ||
| "description": "TypeScript definitions for msgpack.js - MessagePack JavaScript Implementation", | ||
| "license": "MIT", | ||
| "author": "Shinya Mochizuki <https://github.com/enrapt-mochizuki/>", | ||
| "main": "", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
| }, | ||
| "scripts": {}, | ||
| "dependencies": {}, | ||
| "typings": "index.d.ts", | ||
| "typesPublisherContentHash": "e6865e71650609be475ce34d34e7c5121fefefc8ce91d377715fc31a8a78a1fb" | ||
| } |
| # Installation | ||
| > `npm install --save @types/msgpack` | ||
| # Summary | ||
| This package contains type definitions for msgpack.js - MessagePack JavaScript Implementation (https://github.com/uupaa/msgpack.js/). | ||
| # Details | ||
| Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/msgpack | ||
| Additional Details | ||
| * Last updated: Mon, 19 Sep 2016 17:28:59 GMT | ||
| * File structure: Global | ||
| * Library Dependencies: none | ||
| * Module Dependencies: none | ||
| * Global values: msgpack | ||
| # Credits | ||
| These definitions were written by Shinya Mochizuki <https://github.com/enrapt-mochizuki/>. |
| { | ||
| "authors": "Shinya Mochizuki <https://github.com/enrapt-mochizuki/>", | ||
| "definitionFilename": "index.d.ts", | ||
| "libraryDependencies": [], | ||
| "moduleDependencies": [], | ||
| "libraryMajorVersion": "0", | ||
| "libraryMinorVersion": "0", | ||
| "libraryName": "msgpack.js - MessagePack JavaScript Implementation", | ||
| "typingsPackageName": "msgpack", | ||
| "projectName": "https://github.com/uupaa/msgpack.js/", | ||
| "sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped", | ||
| "sourceBranch": "types-2.0", | ||
| "kind": "Global", | ||
| "globals": [ | ||
| "msgpack" | ||
| ], | ||
| "declaredModules": [], | ||
| "files": [ | ||
| "index.d.ts" | ||
| ], | ||
| "hasPackageJson": false, | ||
| "contentHash": "e6865e71650609be475ce34d34e7c5121fefefc8ce91d377715fc31a8a78a1fb" | ||
| } |
-83
| // Type definitions for msgpack.js - MessagePack JavaScript Implementation | ||
| // Project: https://github.com/uupaa/msgpack.js/ | ||
| // Definitions by: Shinya Mochizuki <https://github.com/enrapt-mochizuki/> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| interface MsgPackStatic { | ||
| /** | ||
| * @param data string or ByteArray. | ||
| * @param toString return string value if true. | ||
| * | ||
| * @return string or ByteArray or false. pack failed if false. | ||
| */ | ||
| pack(data: any, toString?: boolean): any; | ||
| /** | ||
| * @param data string or ByteArray. | ||
| * | ||
| * @return string or ByteArray or undefined. unpack failed if undefined. | ||
| */ | ||
| unpack(data: any): any; | ||
| worker: string; | ||
| upload(url: string, option: MsgPackUploadOption, callback: MsgPackUploadCallback): void; | ||
| download(url: string, option: MsgPackDownloadOption, callback: MsgPackDownloadCallback): void; | ||
| } | ||
| interface MsgPackUploadOption { | ||
| /** | ||
| * string or ByteArray | ||
| */ | ||
| data: any; | ||
| /** | ||
| * use WebWorker if true. | ||
| */ | ||
| worker?: boolean; | ||
| /** | ||
| * timeout sec. | ||
| */ | ||
| timeout?: number; | ||
| before?: (xhr: XMLHttpRequest, option: MsgPackUploadOption) => void; | ||
| after?: (xhr: XMLHttpRequest, option: MsgPackUploadOption, result: MsgPackCallbackResult) => void; | ||
| } | ||
| interface MsgPackUploadCallback { | ||
| (data: string, option: MsgPackUploadOption, result: MsgPackCallbackResult): void; | ||
| } | ||
| interface MsgPackDownloadOption { | ||
| /** | ||
| * use WebWorker if true. | ||
| */ | ||
| worker?: boolean; | ||
| /** | ||
| * timeout sec. | ||
| */ | ||
| timeout?: number; | ||
| before?: (xhr: XMLHttpRequest, option: MsgPackDownloadOption) => void; | ||
| after?: (xhr: XMLHttpRequest, option: MsgPackDownloadOption, result: MsgPackCallbackResult) => void; | ||
| } | ||
| interface MsgPackDownloadCallback { | ||
| /** | ||
| * @param data string or ByteArray | ||
| */ | ||
| (data: any, option: MsgPackDownloadCallback, result: MsgPackCallbackResult): void; | ||
| } | ||
| interface MsgPackCallbackResult { | ||
| status: number; | ||
| ok: boolean; | ||
| } | ||
| declare var msgpack: MsgPackStatic; |
-15
| { | ||
| "name": "@types/msgpack", | ||
| "version": "0.0.27", | ||
| "description": "TypeScript definitions for msgpack.js - MessagePack JavaScript Implementation", | ||
| "main": "", | ||
| "scripts": {}, | ||
| "author": "Shinya Mochizuki <https://github.com/enrapt-mochizuki/>", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
| }, | ||
| "license": "MIT", | ||
| "typings": "index.d.ts", | ||
| "dependencies": {} | ||
| } |
-18
| # Installation | ||
| > `npm install --save @types/msgpack` | ||
| # Summary | ||
| This package contains type definitions for msgpack.js - MessagePack JavaScript Implementation (https://github.com/uupaa/msgpack.js/). | ||
| # Details | ||
| Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/msgpack | ||
| Additional Details | ||
| * Last updated: Thu, 14 Jul 2016 13:52:46 GMT | ||
| * File structure: Global | ||
| * Library Dependencies: none | ||
| * Module Dependencies: none | ||
| * Global values: msgpack | ||
| # Credits | ||
| These definitions were written by Shinya Mochizuki <https://github.com/enrapt-mochizuki/>. |
| { | ||
| "authors": "Shinya Mochizuki <https://github.com/enrapt-mochizuki/>", | ||
| "definitionFilename": "index.d.ts", | ||
| "libraryDependencies": [], | ||
| "moduleDependencies": [], | ||
| "libraryMajorVersion": "0", | ||
| "libraryMinorVersion": "0", | ||
| "libraryName": "msgpack.js - MessagePack JavaScript Implementation", | ||
| "typingsPackageName": "msgpack", | ||
| "projectName": "https://github.com/uupaa/msgpack.js/", | ||
| "sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped", | ||
| "sourceBranch": "types-2.0", | ||
| "kind": "Global", | ||
| "globals": [ | ||
| "msgpack" | ||
| ], | ||
| "declaredModules": [], | ||
| "files": [ | ||
| "index.d.ts" | ||
| ], | ||
| "contentHash": "e6865e71650609be475ce34d34e7c5121fefefc8ce91d377715fc31a8a78a1fb" | ||
| } |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
3923
1.21%86
1.18%