Coder Social home page Coder Social logo

Comments (8)

JohnPostlethwait avatar JohnPostlethwait commented on July 3, 2024

Hello! Yes, this is the correct place to ask.

Stringify (unfortunately) does not currently accept arguments from the command-line. :( When run from the command-line it just uses its defaults. for extensions (and all other options). Command-line support was sort of a happenstance and I didn't put much work into it.

I think it is a good idea to have it. It would be great if you wanted to add a pull request for it, otherwise I can work on it eventually, but it likely won't be any time soon...

from stringify.

thisispaul avatar thisispaul commented on July 3, 2024

Okay, that's fine, mostly just glad I wasn't doing something daft!

I'm not 100% on how to add it myself but I shall investigate and give it a shot!

from stringify.

JohnPostlethwait avatar JohnPostlethwait commented on July 3, 2024

Haha, nope, nothing daft!

You could add something here for looking at environmental variables, if you wanted to do it that way: https://github.com/JohnPostlethwait/stringify/blob/master/src/stringify.js#L63 Supporting actual command-line args would be a bit more involved.

from stringify.

Samsy avatar Samsy commented on July 3, 2024

#30

from stringify.

Samsy avatar Samsy commented on July 3, 2024

Glad to merge my P-Request, you can close this one now !
Cheers !

from stringify.

Samsy avatar Samsy commented on July 3, 2024

Can you publish to npm plz.
Thanks

from stringify.

JohnPostlethwait avatar JohnPostlethwait commented on July 3, 2024

Sorry, have been quite distracted and busy. I am working on getting this updated right now. I will let you know what it is up.

from stringify.

JohnPostlethwait avatar JohnPostlethwait commented on July 3, 2024

Published as version 3.2.1 https://www.npmjs.com/package/stringify

I will be pushing a version 4 later that has a newer version of NodeJS

from stringify.

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.