
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign hits npm.
@intellihr/rosaenlg-loader
Advanced tools
Webpack loader for RosaeNLG (https://rosaenlg.org/)
To begin, you'll need to install rosaenlg-loader:
$ npm install rosaenlg-loader --save-dev
Then add the loader to your webpack config. For example:
file.pug
import file from 'file.pug';
webpack.config.js
module.exports = {
module: {
rules: [
{
test: /\.pug$/,
use: [
{
loader: `rosaenlg-loader`,
options: {
language: ['en_US']
},
},
],
},
],
},
};
And run webpack via your preferred method.
Type: string|array
Target languages for compilation, e.g. en_US, fr_FR
[ example outline text ]
webpack.config.js
{
test: /\.pug$/,
use: [
{
loader: `rosaenlg-loader`,
options: {
language: ['en_US']
},
},
],
}
file.pug
| example translation
file.js
import rosaenlg from 'rosaenlg/dist/rollup/rosaenlg_tiny_en_US_3.0.0';
import template from 'file.pug';
const text = template.en_US({
util: new rosaenlg.NlgLib({ language: 'en_US' })
})
Please take a moment to read our contributing guidelines if you haven't yet done so.
FAQs
Webpack Loader for RosaeNLG
We found that @intellihr/rosaenlg-loader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
/Security News
Another wave of Shai-Hulud campaign hits npm.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.