Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
hello-world-emo
Advanced tools
A hello world npm module whose main purpose is to experiment a 'modern' (typescript / ES6) module declaration and its consumption by various environments, including legacy.
A hello world npm module whose real purpose is to experiment a 'modern' (typescript / ES6) module declaration and its consumption by various environments, including legacy.
This is an "emo" version, in reference to this article: JavaScript Modules: Welcome to My Emo Hellscape.
npm i --save hello-world-emo
Then in your code:
const { hello } = require('hello-world-emo')
const hello = require('hello-world-emo').hello
var hello = require('hello-world-emo/dist/index.node-legacy').hello
import { hello } from 'hello-world-emo'
import { hello } from 'hello-world-emo'
hello() --> Hello, World :-(
hello('Offirmo') --> Hello, Offirmo :-(
What did you expect ?
npm 3 is needed for installing deps.
rm -rf node_modules
nvm use 6
npm i
Node 6 is needed for tests
nvm use 6
npm run test:quick
npm run test:interactive
Then switch back to node 4 for generating
nvm use 4
npm run build
Eventually, commit and release
npm run np patch
This module is aiming at having optimal consumption by :
References :
FAQs
A hello world npm module whose main purpose is to experiment a 'modern' (typescript / ES6) module declaration and its consumption by various environments, including legacy.
The npm package hello-world-emo receives a total of 3 weekly downloads. As such, hello-world-emo popularity was classified as not popular.
We found that hello-world-emo 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.