Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Functional utilities for types and data, inspired by Elm.
This package is distributed via npm.
$ npm install --save elmlike
# or
$ yarn add elmlike
Then import according to your modules model and bundler, such as Rollup and Webpack:
// ES Modules
// For all possible functions to import look at the documentation
import * as Maybe from "elmlike/maybe";
/// CommonJS modules
const Maybe = require("elmlike/maybe");
A UMD version is also available on unpkg:
<script src="https://unpkg.com/elmlike/dist/elmlike.umd.js"></script>
I love Elm's types and their API. I like that they are concrete, and easy to grasp, with a minimal API surface. I often write similar ad-hoc types when working in JS, and wanted a common point for them.
If you want to just dive in, do this:
// TODO :)
TODO: Write about common patterns, imports and so on
MIT License © Fotis Papadogeorgopoulos
FAQs
Functional utilities for types and data, inspired by Elm.
The npm package elmlike receives a total of 3 weekly downloads. As such, elmlike popularity was classified as not popular.
We found that elmlike 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 found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.