A

A more ergonomic sed using JavaScript regexes

Hacker News

A more ergonomic sed using JavaScript regexes

I love `sed`, but specifying in-place replacement across linux/mac is challenging, and I find both the regular expression options hard to remember the exact syntax for. So I built a small wrapper around String.prototype.replace to give the syntax and power of javascript regular expressions (and, optionally, javascript functions): https://github.com/ariabuckles/jsed Or to install: npm install -g @ariabuckles/jsed Some examples: You can use it pretty similarly to `sed`: echo "this is a test" | jsed '\w+' 'word:$&' > word:this word:is word:a word:test Or you can use it more like javascript when needed: echo "1 2 3 4" | jsed '/\d+/g' '(num) => num%2 == 0 ? "even" : "odd"'

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
49%49% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntUnlikely to reach the leaderboard · Strong signals: mac, using · Missing: agents, macos, agent
46%46% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
44%44% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: io · Missing: https docs, excited, just released
39%39% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
29%29% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
13%13% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
2%2% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

“W
“Why Using Jsdoced JavaScript?” – Test Your JavaScript with Jsdoc41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

“Why Using Jsdoced JavaScript?” – Test Your JavaScript with Jsdoc

Hacker News3
Te
Text Steganography for JavaScript using Markov Chains53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Text Steganography for JavaScript using Markov Chains

Hacker News2
De
Design your own t-shirt using JavaScript48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Design your own t-shirt using JavaScript

Hacker News5
Em
Emacs-ng – Run JavaScript in Emacs using Deno/Tokio57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Emacs-ng – Run JavaScript in Emacs using Deno/Tokio

Hacker News10
Js
Jsmv – Manipulate your file system using JavaScript37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Jsmv – Manipulate your file system using JavaScript

Hacker News1
Wr
Write Redis Modules Using JavaScript68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Write Redis Modules Using JavaScript

Hacker News3
Fu
Funicular.js: Kinect to JavaScript Using WebSockets55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Funicular.js: Kinect to JavaScript Using WebSockets

Hacker News2
Bu
Build ZigZag Game Using Cocos2d-X JavaScript55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Build ZigZag Game Using Cocos2d-X JavaScript

Hacker News1
Pr
Promises in JavaScript41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Promises in JavaScript

Hacker News1
Ja
Javascript Keylogger54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Javascript Keylogger

Hacker News1