GithubHelp home page GithubHelp logo

Comments (6)

blakeembrey avatar blakeembrey commented on June 4, 2024 1

The code of js stringify is 10 lines and I referenced it already, I’d check that out if you want to know more about it since I didn’t write it. Once again, based on the code review I did for you, that library is mainly JSON stringify with support for dates while this library is designed to stringify any JavaScript for execution later (e.g. generate code from runtime objects).

from javascript-stringify.

blakeembrey avatar blakeembrey commented on June 4, 2024

Please take some time to do reviews for yourself instead of putting the burden on an OSS maintainer to run comparisons for you. That said, if you look at https://github.com/pugjs/js-stringify/blob/master/index.js all it is is a slightly modified JSON stringify. Compared to the goal of this module which is to stringify the entire JavaScript object representation so it can be evaluated at a later date.

from javascript-stringify.

stevenvachon avatar stevenvachon commented on June 4, 2024

Can the result of js-stringify not be evaluated at a later date? The purpose of a readme is to describe why the package is useful, not just how it's used.

from javascript-stringify.

blakeembrey avatar blakeembrey commented on June 4, 2024

What didn’t you understand from the README? If you don’t feel it’s good enough, submit a PR. I looked at the code for the library you asked me to compare because it’s README had no examples of what it did so I couldn’t compare it.

from javascript-stringify.

stevenvachon avatar stevenvachon commented on June 4, 2024

that library is mainly JSON stringify with support for dates

JSON.stringify with support for Date, undefined and a bunch of Unicode characters that I'm not familiar with.

You could choose to improve your readme by explaining more about how it differs from JSON.stringify

from javascript-stringify.

blakeembrey avatar blakeembrey commented on June 4, 2024

Feel free to submit a PR. I would have expected looking at the examples in the README would have provided you all the differences to JSON stringify but I’ll keep it in mind.

from javascript-stringify.

Related Issues (18)

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.