Coder Social home page Coder Social logo

node.js and npm support about handlebars.js HOT 13 CLOSED

donpark avatar donpark commented on May 22, 2024
node.js and npm support

from handlebars.js.

Comments (13)

jcohen avatar jcohen commented on May 22, 2024

Also curious about this? I end up having to make a whole bunch of tweaks to get handlebars running in node (changing require to be relative, etc). Would be nice if it worked properly out of the box, but I'm unclear if it's intentional for some other usage, or if it's just a bug?

from handlebars.js.

luccastera avatar luccastera commented on May 22, 2024

It would be nice if handlebar was an npm package that we can easily use with node.js

from handlebars.js.

feelepxyz avatar feelepxyz commented on May 22, 2024

Would be awesome if you could pre-compile your templates with node and push them out as functions available in some handlebars template object. I know the Jammit-asset-packager does something like this with underscore templates.

from handlebars.js.

 avatar commented on May 22, 2024

Yeah .. please make this to a npm module so we can use it on node.js.

It's gonna make it more popular and more are going to contribute :)

from handlebars.js.

jblotus avatar jblotus commented on May 22, 2024

+1

from handlebars.js.

jcohen avatar jcohen commented on May 22, 2024

I submitted a pull request for this: #90, please let me know if something seems wrong/out of place!

from handlebars.js.

 avatar commented on May 22, 2024

Cool .. merge it!

from handlebars.js.

geddski avatar geddski commented on May 22, 2024

Please do add this

from handlebars.js.

nalanj avatar nalanj commented on May 22, 2024

I'm marking this a duplicate of #90.

from handlebars.js.

jcohen avatar jcohen commented on May 22, 2024

Any idea of when #90 will be pulled? Others have recommended I publish this to NPM on my own, but I'm wary of doing that, especially if you guys will take ownership over it in short order...

from handlebars.js.

nalanj avatar nalanj commented on May 22, 2024

There's actually an NPM package up now that someone else posted. We'll get an official package up by the time we release 1.0.

from handlebars.js.

salomons avatar salomons commented on May 22, 2024

Looking forward to 1.0 and a package for node. ;)

from handlebars.js.

EntitySpaces avatar EntitySpaces commented on May 22, 2024

Did this ever get completed, is Handlesbars easily support under node.js?

from handlebars.js.

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.