UNPKG

@kkbox/kkbox-js-sdk

Version:

KKBOX Open API developer SDK for JavaScript. Use it to easily access KKBOX open API to get various metadata about KKBOX's tracks, albums, artists, playlists and stations.

711 lines 14.5 kB
{ "type": "File", "start": 0, "end": 91, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 91, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ExportNamedDeclaration", "start": 0, "end": 46, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 46 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", "start": 9, "end": 24, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 24 } }, "local": { "type": "Identifier", "start": 9, "end": 16, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 16 }, "identifierName": "default" }, "name": "default" }, "exported": { "type": "Identifier", "start": 20, "end": 24, "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 24 }, "identifierName": "Auth" }, "name": "Auth" } } ], "source": { "type": "StringLiteral", "start": 32, "end": 45, "loc": { "start": { "line": 1, "column": 32 }, "end": { "line": 1, "column": 45 } }, "extra": { "rawValue": "./auth/Auth", "raw": "'./auth/Auth'" }, "value": "./auth/Auth" } }, { "type": "ExportNamedDeclaration", "start": 47, "end": 90, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 43 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", "start": 56, "end": 70, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 } }, "local": { "type": "Identifier", "start": 56, "end": 63, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 16 }, "identifierName": "default" }, "name": "default" }, "exported": { "type": "Identifier", "start": 67, "end": 70, "loc": { "start": { "line": 2, "column": 20 }, "end": { "line": 2, "column": 23 }, "identifierName": "Api" }, "name": "Api" } } ], "source": { "type": "StringLiteral", "start": 78, "end": 89, "loc": { "start": { "line": 2, "column": 31 }, "end": { "line": 2, "column": 42 } }, "extra": { "rawValue": "./api/Api", "raw": "'./api/Api'" }, "value": "./api/Api" } } ], "directives": [] }, "comments": [], "tokens": [ { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7, "end": 8, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 8 } } }, { "type": { "label": "default", "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 9, "end": 16, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "as", "start": 17, "end": 19, "loc": { "start": { "line": 1, "column": 17 }, "end": { "line": 1, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Auth", "start": 20, "end": 24, "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25, "end": 26, "loc": { "start": { "line": 1, "column": 25 }, "end": { "line": 1, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 27, "end": 31, "loc": { "start": { "line": 1, "column": 27 }, "end": { "line": 1, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./auth/Auth", "start": 32, "end": 45, "loc": { "start": { "line": 1, "column": 32 }, "end": { "line": 1, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45, "end": 46, "loc": { "start": { "line": 1, "column": 45 }, "end": { "line": 1, "column": 46 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 47, "end": 53, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 54, "end": 55, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "default", "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 56, "end": 63, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "as", "start": 64, "end": 66, "loc": { "start": { "line": 2, "column": 17 }, "end": { "line": 2, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Api", "start": 67, "end": 70, "loc": { "start": { "line": 2, "column": 20 }, "end": { "line": 2, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 71, "end": 72, "loc": { "start": { "line": 2, "column": 24 }, "end": { "line": 2, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 73, "end": 77, "loc": { "start": { "line": 2, "column": 26 }, "end": { "line": 2, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./api/Api", "start": 78, "end": 89, "loc": { "start": { "line": 2, "column": 31 }, "end": { "line": 2, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 89, "end": 90, "loc": { "start": { "line": 2, "column": 42 }, "end": { "line": 2, "column": 43 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 91, "end": 91, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 0 } } } ] }