
Product
Rubygems Ecosystem Support Now Generally Available
Socket's Rubygems ecosystem support is moving from beta to GA, featuring enhanced security scanning to detect supply chain threats beyond traditional CVEs in your Ruby dependencies.
seo-editor
Advanced tools
Copywriting keyword to-do list automation
This package is pure ESM.
npm i seo-editor
import { strict as assert } from "assert";
import { editor, version } from "seo-editor";
// Powers the UI of codsen.com/tools/seo-editor
// there's also a non-deterministic "log" key containing calculation statistics
const { todoLines, todoTotal, completion, chunkWordCounts } = editor(
`
- apple
- banana
- cucumber
`,
`
I ate a banana and a cucumber.
`,
);
assert.deepEqual(
{ todoLines, todoTotal, completion, chunkWordCounts },
{
todoLines: [
{ extracted: "", counts: [], length: 0, lengthCompensation: 0 },
{ extracted: "apple", counts: [0], length: 5, lengthCompensation: 3 },
{ extracted: "banana", counts: [1], length: 6, lengthCompensation: 2 },
{
extracted: "cucumber",
counts: [1],
length: 8,
lengthCompensation: 0,
},
{ extracted: "", counts: [], length: 0, lengthCompensation: 0 },
],
todoTotal: 3,
completion: [2],
chunkWordCounts: [7],
},
);
Please visit codsen.com for a full description of the API.
To report bugs or request features or assistance, raise an issue on GitHub.
MIT License.
Copyright © 2010-2024 Roy Revelt and other contributors.
FAQs
Copywriting keyword to-do list automation
The npm package seo-editor receives a total of 10 weekly downloads. As such, seo-editor popularity was classified as not popular.
We found that seo-editor 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 Rubygems ecosystem support is moving from beta to GA, featuring enhanced security scanning to detect supply chain threats beyond traditional CVEs in your Ruby dependencies.
Research
The Socket Research Team investigates a malicious npm package that appears to be an Advcash integration but triggers a reverse shell during payment success, targeting servers handling transactions.
Security Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.