Socket
Socket
Sign inDemoInstall

extra-map

Package Overview
Dependencies
0
Maintainers
1
Versions
307
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.68 to 3.0.69

4

package.json
{
"name": "extra-map",
"version": "3.0.68",
"description": "A map is a collection of key-value pairs, with unique keys.",
"version": "3.0.69",
"description": "A group of functions for working with Maps.",
"main": "index.js",

@@ -6,0 +6,0 @@ "module": "index.mjs",

@@ -1,24 +0,30 @@

A [map] is a collection of key-value pairs, with unique keys.<br>
:package: [NPM](https://www.npmjs.com/package/extra-map),
:smiley_cat: [GitHub](https://github.com/orgs/nodef/packages?repo_name=extra-map),
:running: [RunKit](https://npm.runkit.com/extra-map),
:vhs: [Asciinema](https://asciinema.org/a/341106),
:moon: [Minified](https://www.npmjs.com/package/extra-map.min),
:scroll: [Files](https://unpkg.com/extra-map/),
:newspaper: [JSDoc](https://nodef.github.io/extra-map/),
:blue_book: [Wiki](https://github.com/nodef/extra-map/wiki/).
A group of functions for working with Maps.<br>
📦 [Node.js](https://www.npmjs.com/package/extra-map),
🌐 [Web](https://www.npmjs.com/package/extra-map.web),
📜 [Files](https://unpkg.com/extra-map/),
📰 [Docs](https://nodef.github.io/extra-map/),
📘 [Wiki](https://github.com/nodef/extra-map/wiki/).
All functions except `from*()` take `Map` as 1st parameter. Some names
are borrowed from Haskell, Python, Java, Processing.
A [Map] is a collection of key-value pairs, with unique keys. This package
includes common set functions related to querying **about** map, **generating**
them, **comparing** one with another, finding their **size**, **adding** and
**removing** entries, obtaining its **properties**, getting a **part** of it,
getting a **subset** entries in it, **finding** an entry in it, performing
**functional** operations, **manipulating** it in various ways, **combining**
together maps or its entries, of performing **set operations** upon it.
Methods look like:
- `swap()`: doesn't modify the map itself (pure).
- `swap$()`: modifies the map itself (update).
All functions except `from*()` take set as 1st parameter. Some names
are borrowed from Haskell, Python, Java, Processing. Methods like
`swap()` are pure and do not modify the map itself, while methods like
`swap$()` *do modify (update)* the map itself.
Methods as separate packages:
- `@extra-map/swap`: use [rollup] to bundle this es module.
- `@extra-map/swap.min`: use in browser ([browserify], [uglify-js]).
This package is available in *Node.js* and *Web* formats. The web format
is exposed as `extra_set` standalone variable and can be loaded from
[jsDelivr CDN].
> Stability: Experimental.
> Stability: [Experimental](https://www.youtube.com/watch?v=L1j93RnIxEo).
[Map]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map
[jsDelivr CDN]: https://cdn.jsdelivr.net/npm/extra-map.web/index.js
<br>

@@ -25,0 +31,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc