
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@jasonbelmonti/textrazor-api-cli
Advanced tools
A nodejs-powered command-line interface for TextRazor.
textrazor.js
executablecomputer-1:repositories user$ cd textrazor-api-cli
computer-1:textrazor-api-cli user$ chmod +x textrazor.js
Get a key here.
Add a file called .env
in the project root containing your TextRazor API key.
// contents of news-api-cli/.env
TEXTRAZOR_API_KEY=YOUR-KEY-HERE
analyze [options]
-t, --text [text] Content to analyze
-u, --urls [urls] A list of comma-separated urls to extract and analyze
-e, --extractors <extractors> A list of comma-separated extractors
-w, --write [path] Save the result to [path]/[encodeURIComponent(url or text)]
-h, --help output usage information
Extract entities and topics from the phrase "Donald Trump is a moron" and save it to donald/Donald%20Trump%20is%20a%20moron.json
:
./textrazor.js analyze -t "Donald Trump is a moron" -e entities,topics -w donald
Extract entities and topics from a New York Times article and save it to nyt/https%3A%2F%2Fwww.nytimes.com%2F2018%2F08%2F25%2Fus%2Fpolitics%2Frobert-mueller-russia-investigation.htm.json
:
./textrazor.js analyze -u https://www.nytimes.com/2018/08/25/us/politics/robert-mueller-russia-investigation.html -e entities,topics -w nyt
FAQs
command line interface to TextRazor (https://www.textrazor.com/)
The npm package @jasonbelmonti/textrazor-api-cli receives a total of 0 weekly downloads. As such, @jasonbelmonti/textrazor-api-cli popularity was classified as not popular.
We found that @jasonbelmonti/textrazor-api-cli 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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.