@kancolle/main

0.210928.0 • Public • Published

@kancolle/main

Using KanColle's main.js in Node.js.

npm package dependencies devDependencies

Install

yarn add @kancolle/main

Usage

See src/test.js for some working examples. See dist/api for more functions.

Build

To build files in dist:

yarn
yarn build
yarn test

dist/main.js is the final patched file.

Todo

  • After main.init() a request to version.json will be performed with axios, that won't work due to browser security related issues, more browser simulation is required. Similarly, many functions won't work without api_start2 response. For example, main.ShipLoader.getPath need versions from api_start2.
  • It is better to mock all the things rather than pulling heavy dependencies (like canvas).

Readme

Keywords

Package Sidebar

Install

npm i @kancolle/main

Weekly Downloads

1

Version

0.210928.0

License

MIT

Unpacked Size

7.6 MB

Total Files

6

Last publish

Collaborators

  • gakada