@@ -2615,6 +2615,46 @@ (define-public node-which-boxed-primitive
which kind of boxed primitive the value given is.")
(license license:expat)))
+(define-public node-which-collection
+ (package
+ (name "node-which-collection")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/inspect-js/which-collection")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ba67862jp4c9d9444ignzp7aavdivdbzqy3x8mbzlvqji6makqh"))))
+ (build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies
+ '("@ljharb/eslint-config"
+ "aud"
+ "auto-changelog"
+ "eslint"
+ "for-each"
+ "in-publish"
+ "npmignore"
+ "nyc"
+ "object-inspect"
+ "safe-publish-latest"
+ "tape")))))
+ #:tests? #f)) ; FIXME tests depend on node-tape.
+ (inputs
+ (list node-is-map node-is-set node-is-weakmap node-is-weakset))
+ (home-page "https://github.com/inspect-js/which-collection")
+ (synopsis "Javascript function to determine which collection it is")
+ (description "This package provides a Javascript function to determine
+which kind of collection the value given is.")
+ (license license:expat)))
+
(define-public node-which-typed-array
(package
(name "node-which-typed-array")