Code Monkey home page Code Monkey logo

Comments (3)

jnovack avatar jnovack commented on July 22, 2024

I disagree. extract.js is included to prove the library works, and it works as such.

These 'value-add' features are 'feature-creep' and should be for another project.

I feel this is a back-end library and should be for the protocol and documentation only.

from heroprotocoljs.

Farof avatar Farof commented on July 22, 2024

In order for people working on other projects to leverage the library fully, it needs to make deciphering the replays content as easy as possible. The documentation is part of that, but reading extracted files manually to get a feel of them is another.

If someone just wants to dump data to be exploited elsewhere, not using the --pretty option outputs a one-line file with a direct JSON representation of the data.

If someone wants to have a manual look at the inside of a file, they can add the --pretty option to add new lines and indent. The original library also sorted the properties alphabetically, I suppose for readability reasons. As the --pretty option is not intended for optimized code but for debugging and exploration in the first place, it has all it's place here.

from heroprotocoljs.

Farof avatar Farof commented on July 22, 2024

Done 8204114.

from heroprotocoljs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.