Web Tools #452 - JS One-liners, VS Code, Testing, Uncats

Web Tools Weekly
WEB VERSION
Tools for Web Developers

Issue #452 • March 17, 2022

Advertisement
The All-in-One Modern Data Platform You Need
Get everything you need to combine, organize, and transform your data for analysis, including a Snowflake data warehouse and ETL tools.

Schedule a Demo
Mozart Data

Over the past 6 months or so I've come across three different articles with a similar theme: Killer JavaScript one-liners.

These articles are straight lists with not much explanation, which is fine. They always seem to be popular so instead of lifting one of their one-liners and dissecting it here, how about I simply share the whole lot?

20 Killer JavaScript One Liners by Savio Martin

20 Killer JavaScript One Liners by Savio Martin

Includes: browser cookie, RGB to Hex, copy to clipboard, title case a string, clear all cookies, get URL params, and more.

20 JavaScript One-Liners That Will Help You Code Like a Pro by M. Ovi

20 JavaScript One-Liners That Will Help You Code Like a Pro by Muhammad Ovi

Includes: Get a random Boolean, unique array values, generate a random string, swap two variables, merge arrays, and lots more.

17 Life-Saving JavaScript One-Liners by Maria Zayed

17 Life-Saving JavaScript One-Liners (Part 1) by Maria Zayed

Includes some DOM manipulation, and some one-lines for manipulating arrays and objects.

Another 17 Life-Saving JavaScript One-Liners by Maria Zayed

Another 17 Life-Saving JavaScript One-Liners by Maria Zayed

Includes one-liners related to strings, dates, and lots more.

Warning: Many of these "one-liners" can be a headache to maintain so if you're going to use them, be sure to comment your code if that snippet is even a little confusing or ambiguous to future code maintainers.
 

Now on to this week's tools!
 

VS Code, Text Editors, IDEs, etc.

The All-in-One Modern Data Platform You Need
Get everything you need to combine, organize, and transform your data for analysis, including a Snowflake data warehouse and ETL tools. sponsored  

Node.js Notebooks
Run JavaScript and TypeScript in Node.js within VS Code notebooks, with excellent support for debugging, TensorFlow visualizations, Plotly, etc.

Preview.js
Extension for VS Code JetBrains IDEs to instantly preview UI components for better flow while developing interfaces.

regex:help!
An online tool to help you easily generate, test, and refine your regular expressions. Powered by the popular grex library.

Style Dictionary Playground
An unofficial playground for Style Dictionary, Amazon's build system that allows you to define styles once, in a way for any platform or language to consume.

Yode-Nvim
A plugin for Neovim that adds features from Yode, an older library that allow you to do highly-focused code editing (e.g. by opening new windows for each function you want to edit).

Animatize
A really cool little animation builder that lets you create simple animations by just dragging your an object around a canvas. Select the background and object to animate, then drag the object and generate the CSS.

Animatize

Rehype Pretty Code
A plugin for Rehype, an HTML processor that lets you easily add syntax highlighted code to Markdown and MDX docs.

Emfy
A dark and sleek Emacs setup for general purpose editing and programming for those new to using Emacs.

Slidev
A VS Code extension that adds support for Slidev, a framework for creating interactive presentation slides using a single Markdown file.

On the Release Radar:

Testing and Debugging Tools

API Spreadsheets — Build a Custom Spreadsheet Importer
Set up a custom spreadsheet import workflow and use our pre-written code to build an importer within minutes.  sponsored 

react-native-owl
Visual regression testing for React Native, though still a work in progress project.

CLI Testing Library
A set of simple and complete CLI testing utilities that encourage good testing practices.

taba11y
Chrome extension that calculates the tab order of all elements on a page and displays tab order visually, either by drawing a path or by highlighting the elements.

JSBEN.CH
Online JavaScript benchmarking tool to test code snippets against each other and optionally generate a shareable URL.
 
JSBEN.CH

Node-Secure CLI
A Node.js CLI to deeply analyze the dependency tree of a given package or directory.

Falso
Create massive amounts of fake data in the browser and Node, tree shakeable and fully typed.

Automa
Chrome extension to let you use "blocks" to automate events in the browser like auto-filling forms, doing a repetitive task, taking a screenshot, scraping data, and lots more.

vue-test-declarative
Declarative unit testing for Vue components.

Violating GDPR?
Enter a URL and this tool will tell you if the website is violating GDPR laws.

On the Release Radar:

The Uncategorizables

API Spreadsheets — Use Google Sheets as an API and Database
Save form data to spreadsheets, use spreadsheet data to power apps, and much more. All without a backend.  sponsored 

Melody
A language that compiles to ECMAScript regular expressions, while aiming to be more readable and maintainable.

Nitric
A serverless framework to build cloud-native apps fast.

Bloggu
Write, schedule, and publish articles directly to platforms like Medium, dev.to and more. Free while in Beta.

monorepo.tools
Everything you need to know about monorepos, and the tools to build them.

DevEnv
A note-taking app for developers with a simple UI and ability to share notes with others.
 
DevEnv

Quickwit
A fast and cost-efficient distributed search engine for large-scale, immutable data.

Browsers.page
Show users their browser name and version, matched with a list of the browsers you support as a company or project.

WAPM
A WebAssembly package directory. Kind of like npm but for WebAssembly apps and libraries.

RegEx Library
A curated list of useful regular expressions for different programming languages.

National Park Typeface
A typeface designed to mimic the service signs that are carved using a router bit and posted in national parks in the US.

Discuzz
An open-source commenting system that uses Firestore for data storage and Firebase Auth support for multiple sign-in methods.
 

Commercial Tools and Classifieds

These are affiliate links, paid classifieds, and curated commercial apps (i.e. not free, not open source, limited free plan, etc).

Waxbite - Convert a newsletter feed to audio and listen on the go.

Hawk - App error and overall health monitoring.

Bytes - A JavaScript newsletter that's informative and entertaining. ad 

Explain Code - A code explanation platform for code that's hard to grasp.

Material Dashboard - A premium Material-UI & React admin template. ad 

Sheet Monkey - Send HTML form submissions to Google Sheets.

ChangeLog - A change log service to build your product in public.
 

A Tweet for Thought

It turns out, all those Wordle emojis are terrible for screen readers.

A Tweet for Thought
 

Send Me Your Tools!

Made something? Send links via Direct Message on Twitter @WebToolsWeekly (details here). No tutorials or articles, please. If you have any suggestions for improvement or corrections, feel free to reply to this email.
 

Before I Go...

Here's a huge list of Computer Science courses with video lectures.

Thanks to everyone for subscribing and reading!

Keep tooling,
Louis
@WebToolsWeekly

Support this newsletter:
PayPal.me  Patreon  /  GitHub Sponsors  E-Books  /  $5 Tip  /  $1 Tip

Older messages

Web Tools #451 - CSS Tools, Databases, JSON, SVG

Thursday, March 10, 2022

Web Tools Weekly WEB VERSION Issue #451 • March 10, 2022 Advertisement Choosing the Best WYSIWYG Editor for Styling Tables Tables are perfect for representing data and information in an organized way,

Web Tools #450 - New MDN, Frameworks, Build, React

Thursday, March 3, 2022

Web Tools Weekly WEB VERSION Issue #450 • March 3, 2022 Advertisement How Modern Treasury Scaled Data Infrastructure Fast Modern Treasury, the payment operations provider, needed to replace their BI

Web Tools #449 - img.complete, JS Utilities, React, Uncats

Thursday, February 24, 2022

Web Tools Weekly WEB VERSION Issue #449 • February 24, 2022 Advertisement The All-in-One Modern Data Platform You Need Get everything you need to combine, organize, and transform your data for analysis

Web Tools #448 - JS Libraries, Git/CLI, React Tools

Thursday, February 17, 2022

Web Tools Weekly WEB VERSION Issue #448 • February 17, 2022 Advertisement Choosing the Best WYSIWYG Editor for Styling Tables Tables are perfect for representing data and information in an organized

Web Tools #447 - CSS Tools, Testing, Jamstack, CMS's

Thursday, February 10, 2022

Web Tools Weekly WEB VERSION Issue #447 • February 10, 2022 Advertisement The Easiest Modern Data Stack to Set Up Sign up for a 14-day free trial of Mozart Data's data stack. Get set up in under an

You Might Also Like

See what Apple did to the iPads

Tuesday, May 7, 2024

Plus: A sperm whale alphabet and Oyo wants some discounted funding View this email online in your browser By Christine Hall Tuesday, May 7, 2024 Hello, and welcome back to TechCrunch PM. Today's

🍿 5 Things to Do With Your Old TVs — Ditching Google Search for Perplexity AI

Tuesday, May 7, 2024

Also: How to Turn Off Vanish Mode on Instagram, and More! How-To Geek Logo May 7, 2024 Did You Know The lens of your eye casts everything it sees upside down onto your retina; only when the image

JSK Daily for May 7, 2024

Tuesday, May 7, 2024

JSK Daily for May 7, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Building Large Scale Web Apps | A React Field Guide I had the privilege to work with Addy

Random Web App Ports, unittest, TypeIs vs TypeGuard, and More

Tuesday, May 7, 2024

`TypeIs` Does What I Thought `TypeGuard` Would Do in Python #628 – MAY 7, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo TypeIs Does What I Thought TypeGuard Would Do in Python In this post,

Daily Coding Problem: Problem #1434 [Medium]

Tuesday, May 7, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Airbnb. You are given a huge list of airline ticket prices between different cities

Chaos, Coyotes & Palm Trees 🌴

Tuesday, May 7, 2024

John Mulaney helps Netflix nail its final comedic frontier. Here's a version for your browser. Hunting for the end of the long tail • May 07, 2024 Chaos, Coyotes & Palm Trees John Mulaney's

Issue 155

Tuesday, May 7, 2024

🧑‍🚀🚀 Humanity has entered the 3rd space age. Professional fraud fighter goes undercover at a “Yahoo Boy School.” The AI music app that actually makes good music. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

A very random issue

Tuesday, May 7, 2024

Plus a new language that compiles to Go, charts for the terminal, and some Go books from Packt. | #​506 — May 7, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly Evolving the Go Standard

Chart | The Growth of a $1,000 Investment, by Stock Market Index 📈

Tuesday, May 7, 2024

In this graphic, we've visualized stock market growth by country over the past five years using major indices. View Online | Subscribe Presented by: Discover the motivations and behaviors of

⚙️ A new LLM for Microsoft

Tuesday, May 7, 2024

Plus: A revenue beat for Palantir & a new partnership for OpenAI ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌