
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
@ariabuckles/jsed
Advanced tools
better sed, with js regexes & functions
Installation: npm install -g @ariabuckles/jsed
Usage:
jsed <search> <replacer>
Options:
-V, --version output the version number
-f --file <file> a file which to process; otherwise processes stdin
-a --text interpret the search arg as a string rather than a regex
-s --string interpret the replacer as a string even if it looks like a function
-o --output optional file to write to; otherwise writes to stdout
-h, --help output usage information
Examples:
> echo "use basic strings" | jsed "basic" "literal"
use literal strings
> echo "use regexes or funcs" | jsed '/\w+/g' "word=>'aaa'"
aaa aaa aaa aaa
> echo "use regexes without /s" | jsed '(regexes)' 'cool $1'
use cool regexes without /s
You can modify a file by specifying both -o
and -f
together:
> jsed -of test.txt 'search' 'replace'
FAQs
better sed, with js regexes & functions
The npm package @ariabuckles/jsed receives a total of 0 weekly downloads. As such, @ariabuckles/jsed popularity was classified as not popular.
We found that @ariabuckles/jsed demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.