
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
NodeJS CLI that splits a Markdown file into smaller files based on a given delimiter. It's basically str.split(pattern)
for .md
files.
$ npm install split-md
To use the CLI, type split-md
followed by it's args:
$ split-md 'tests/testdata.md' '### v' '###' '' 10 true
In the above example we are reading in tests/testdata.md
. Our delimiter is whenever we see a line start with the pattern ### v
. We want to use this line for our new markdown file's name, however we want to remove the ###
by setting it as the cleanName variable. Next, we are setting the writePath
to our current working directory by giving an empty string as this variable. Also note that we are setting our limit to only create 10 files before exiting. Lastly, we have true
to show that we want the file names to be ordered.
MIT License 2016-2018 © Andy Craze & contributors
FAQs
split up Markdown file into smallers files
We found that split-md demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.