Questions tagged [node-stitch]

5 questions
20
votes
0 answers

Comparison of hem, browserify, stitch and others

I've seen some node modules that allow compiling CommonJS/Node.js modules for the browser. Until now I've found: browserify hem stitch browserbuild volo cajon I am currently using browserify and I noticed some overhead of 300? lines when…
user995928
2
votes
0 answers

Mocking NPM dependencies in Node.js for jasmine unit testing

I want to unit test my login flow in a node.js module. I think that every time it encounter any NPM dependency like here I used stitching. It never goes inside stitching.auth() and I get response undefined. Here is my code.. …
2
votes
2 answers

Stitch & Grunt — File not found

Just started playing with Grunt and would like to use Stitch to combine my modules for the use on the client side. I don’t have much experience with commonJS in general and both libaries are new to me — so please bear with me. Here's an excerpt…
polarblau
  • 17,649
  • 7
  • 63
  • 84
0
votes
0 answers

BSON.Timestamp conversion issue in Nodejs Mongodb Stitch?

I am using stitch function to get the last 7 days from event collection.below is my code.this is execute in stitch function. exports = async function() { var events = context.services.get("mongodb-atlas").db("utilo").collection("events"); var today…
0
votes
1 answer

Moved node-stitch project from Linux to Windows - now it won't build

I'm getting an error that doesn't really make much sense. This is the part of my Cakefile that does the coffee compilation: buildsrc: -> stitch = require 'stitch' fs = require 'fs' # Create stitch package pkg = stitch.createPackage …
Hubro
  • 56,214
  • 69
  • 228
  • 381