---
title: "A GUI for Jest and the state of ES Modules in Node"
publication: "Node Weekly"
issue: 281
published_at: "2019-03-28"
canonical_url: "https://nodeweekly.com/issues/281"
---

The latest Node.js news, articles, tools, and projects.       

#281 — March 28, 2019 

[Read on the Web](https://nodeweekly.com/issues/281)   

Node Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/m28ctk5bxxiabqtf3v3v.jpg)](https://github.com/Raathigesh/majestic/)   

[Majestic: A Zero Config GUI for Jest](https://github.com/Raathigesh/majestic/) — An interesting tool to help make your JavaScript testing life a little easier. What’s neat is you can try it right away by just running `npx majestic` in the project folder for any project that uses [Jest](https://jestjs.io/) for testing. 

Raathi Kugarajan   

[An ECMAScript Modules (ESM) Implementation Has Landed in Node](https://github.com/nodejs/node/pull/26745/commits/b1094dbe19f31f7a69ad16d193748f610b159073) — ES module support [has been experimentally supported](http://2ality.com/2017/09/native-esm-node.html) in Node since 8.5. It remains experimental but there’s a new, better implementation and it’s planned to land in an eventual Node 12 (and be backported later). 

Node.js Foundation   [![\](https://copm.s3.amazonaws.com/fbe3890c.png)](https://www.redisgreen.net/?utm_source=nodeweekly&utm_medium=email&utm_campaign=observable&utm_content=primary&utm_term=perf) 

[Redis Made Observable](https://www.redisgreen.net/?utm_source=nodeweekly&utm_medium=email&utm_campaign=observable&utm_content=primary&utm_term=perf) — RedisGreen provides better tools, instrumentation and support for high-performance Redis. 

RedisGreen sponsor   

[Introducing Experimental Integrity Policies to Node](https://snyk.io/blog/introducing-experimental-integrity-policies-to-node-js/) — An experimental feature for introducing integrity policies recently landed in Node.js core that provides _run-time_ integrity checks for modules. 

Liran Tal   

[Node 6.x Reaches 'End-of-Life' Next Month](https://github.com/nodejs/Release#readme) — Microsoft’s Tierney Cyren [reminds us](https://twitter.com/bitandbang/status/1110967246451630080) that Node 6’s days are almost over. If possible, you want to upgrade code (including those long lost serverless functions!) to Node _10_ as Node 8 itself goes EOL in December. 

Node.js Foundation  

📘 Tutorials and Opinions  

[How do You Structure Your Code When Moving Your API from Express to Serverless Functions?](https://dev.to/azure/how-do-you-structure-your-code-when-moving-your-api-from-express-to-serverless-functions-30bc) — A look at an approach for structuring serverless functions on Azure. 

John Papa   

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/a99yyd9nukwrhsnl8tcu.jpg)](https://dev.to/jfet97/the-shortest-way-to-conditional-insert-properties-into-an-object-literal-4ag7)  

[The Shortest Way to Conditionally Insert Properties into an Object Literal](https://dev.to/jfet97/the-shortest-way-to-conditional-insert-properties-into-an-object-literal-4ag7) — A dig into how a particularly short bit of confusing-looking JavaScript works. I’m not sure I like it, but the explanation is good. 

Andrea Simone Costa   

[Calling the MongoDB Atlas API - How to Do It From Node, Python, and Ruby](https://www.mongodb.com/blog/post/calling-the-mongodb-atlas-api--how-to-do-it-from-node-python-and-ruby?jmp=cpress&utm_campaign=WW_CP_newsletter_sponsorship&utm_content=20190328&utm_medium=display&utm_source=nodeweekly) 

MongoDB sponsor   

[The Pitfalls of `async`/`await` in Array Loops](https://medium.com/dailyjs/the-pitfalls-of-async-await-in-array-loops-cf9cf713bfeb) — Using `async`/`await` while looping through arrays seems simple, but there’s some non-intuitive behavior to look out for. 

Tory Walker   

[A Complete Node Project Setup from Docker to Testing](https://medium.com/@nur_islam/complete-node-js-project-setup-from-docker-to-testing-docker-restfull-apis-with-node-js-9f384e06734a) 

Nur Islam   

[The Process of Black-Box Testing a Node.js Web API](https://medium.com/@grantcarthew/black-box-testing-a-node-js-web-api-d626f7d651be?sk=752454287184e662f3792a281a50527b) 

Grant Carthew  

🔧 Code and Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/psjoo5wml5vb0rs98qnw.jpg)](https://dev.to/azure/peacock-v1-released-4kce)  

[Peacock: Visually Distinguish Different VS Code Windows](https://dev.to/azure/peacock-v1-released-4kce) — A way to keep your various VS Code windows organized and easy to follow. 

John Papa   

[Easy Attach: A Helper Tool To Dynamically Launch the Debugger](https://github.com/hediet/easy-attach) — If the desired entry point to debugging is unclear (e.g. within webpack configurations) this will help you by not just entering the debugger but also launching it from scratch. 

Henning Dieterichs   

[NodeCG: Create Broadcast Graphics using Node and a Browser](https://github.com/nodecg/nodecg) 

NodeCG   

[Shop Like a Developer](https://www.manifold.co/features?utm_source=newsletter&utm_medium=node&utm_campaign=march28) — Discover and experiment with hot new cloud services on Manifold. 🔥 

Manifold sponsor   

[kubernetes-client: A Simplified Kubernetes API Client for Node](https://github.com/godaddy/kubernetes-client) 

GoDaddy   

[graphql-rest-proxy: Turn your REST API into GraphQL](https://github.com/acro5piano/graphql-rest-proxy) — Certainly an interesting idea. The proxy/server is Express based under the hood so it’s easy to tinker with. 

Kay Gosho   

[Fast Binary Encoding (FBE): Fast and Universal Serialization](https://chronoxor.github.io/FastBinaryEncoding/) — An interesting project that supports C++, C#, Go, Java, JavaScript, Kotlin, Python, and Ruby all out of the box on the three major platforms. 

Ivan Shynkarenka   

[func-loc: Retrieve a Function's Location From Its Reference](https://github.com/midrissi/func-loc) 

Mohamed Idrissi         

Curated by [Cooperpress](https://cooperpress.com/) and [Peter Cooper](https://twitter.com/peterc) 

[Change your email address](https://nodeweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://nodeweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
