
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
Zero-dependency multiline string template.
npm install mlstr
or
yarn add mlstr
First, import or require the lib:
const mlstr = require('mlstr');
// or
import mlstr from 'mlstr';
Then just add the mlstr tag in front of a string template with multiple lines
to compact it into a plain string.
Line breaks in the string template are replaced by spaces.
Example:
const mystring = mlstr`
The string can have many
lines but the output will
be plain text.
Leave one line empty to
create actual line breaks
in the string output.
(similar to markdown)
`;
console.log(mystring);
The code above outputs this:
The string can have many lines but the output will be plain text.
Leave one line empty to create actual line breaks in the string output. (similar to markdown)
MIT (see LICENSE.md file for details)
FAQs
Zero-dependency multiline template string
The npm package mlstr receives a total of 3 weekly downloads. As such, mlstr popularity was classified as not popular.
We found that mlstr 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.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.