Giter Club home page Giter Club logo

fast-stable-stringify's People

Contributors

gj avatar nickyout avatar tjconcept avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fast-stable-stringify's Issues

Does not return a valid JSON string in certain cases

I've noticed commas , are sometimes left off when an object contains properties objects, and/or those properties, have objectives as properties. Aka objects that have objects as their values

Is it intentional to leave off the , from some key values? Or is this indeed a bug / edge case to patch?

stringify Date object to iso string?

Trying to

const stringify = require('fast-stable-stringify')
stringify(new Date()) 
// got "{}"
// expect "2017-09-13T16:24:13.631Z"

Just found that

Unlike substack's, it does:
not check for .toJSON() methods on objects

Any way to enable this?

Question: License switch

Hi, you are currently under a GPL-3 license, which is perfectly fine for me, personally.

But for a developer in a corporate environment, that license is a problem for me.

Would it be possible to change the license over to something without a hard copyleft, like MIT...

Use without require?

Hi,

I'd like to give this a whirl in an Ember project I am working on, but I am having problems with it.

I don't think I can use:
var stringify = require('fast-stable-stringify');

since that just throws an error. I've added the package to my package.json so that it gets included in the project but I don't seem to be able to execute the stringify function. I've tried using simpleStableStringify({}) but that also fails.

I'm sure I'm missing something simple...but this is setup differently to anything I have used so far. Can you offer any suggestion?

Thanks,

ian

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.