Coder Social home page Coder Social logo

Publish JJUS to npm about json-stat HOT 4 CLOSED

badosa avatar badosa commented on August 23, 2024 1
Publish JJUS to npm

from json-stat.

Comments (4)

badosa avatar badosa commented on August 23, 2024 2

As issue #14 is probably not trivial, I decided to publish JJUS on npm as it is.

npm install jsonstat-utils

tbrowser has been removed from the npm version.

from json-stat.

badosa avatar badosa commented on August 23, 2024

I never thought JJUS as a module but more as a bundle of different high level helper functions, some of them (tbrowser) they even require a browser and a DOM.

Give me some time to work on it.

Would it make sense to you to also add some of the functionality of JJUS to jsonstat-conv (Command line tools for converting JSON-stat documents)? Things like:

jsonstat2jsonstat (to support join())
arrobj2jsonstat
csv2jsonstat
...

from json-stat.

jfsiii avatar jfsiii commented on August 23, 2024

I never thought JJUS as a module but more as a bundle of different high level helper functions, some of them (tbrowser) they even require a browser and a DOM.

There are many "high-level helper function" packages on npm. npm isn't just for node modules. Even before bower became deprecated
screen shot 2017-05-25 at 10 19 16 am npm was a great way to publish modules.

Putting JJUS on npm allows us to install and import it like all the rest of our dependencies.

Would it make sense to you to also add some of the functionality of JJUS to jsonstat-conv (Command line tools for converting JSON-stat documents)? Things like:

jsonstat2jsonstat (to support join())
arrobj2jsonstat
csv2jsonstat

That sounds like a nice addition. Especially in light of #6

from json-stat.

badosa avatar badosa commented on August 23, 2024

a bundle of different high level helper functions

What I also meant by this is that JJUS was a way for me to offer in a bundle some unrelated JSON-stat code that I had been using for demos and examples and that I thought it might be useful to share. What actually triggered the publication of JJUS was the discovery that not up-to-date code from old examples of the table browser had been copied and was used in several sites.

The fact that this code was originally developed for demos and examples explains why there wasn't a focus on performance: its main goal was to show that a particular functionality was doable in JSON-stat. That was specially true of join(): this method was a way to try to start a discussion on what sort of merges made sense. Which explains issue #14.

It probably makes sense to face issue #14 first before publishing JJUS on npm.

from json-stat.

Related Issues (15)

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.