Package Search Help

You can use boolean logic (e.g. AND/OR/NOT) for complex search queries. For more help and examples, see the search documentation.

Search by package name:
my-package (implicit)
name:my-package (explicit)

Search by package filename:
filename:my-package.ext 

Search by package tag:
tag:latest 

Search by package version:
version:1.0.0  prerelease:true (prereleases)
prerelease:false (no prereleases)

Search by package architecture:
architecture:x86_64 

Search by package distribution:
distribution:el 

Search by package license:
license:MIT 

Search by package format:
format:deb 

Search by package status:
status:in_progress 

Search by package file checksum:
checksum:5afba 

Search by package security status:
severity:critical 

Search by package vulnerabilities:
vulnerabilities:>1 
vulnerabilities:<1000 

Search by # of package downloads:
downloads:>8 
downloads:<100 

Search by package type:
type:binary 
type:source 

Search by package size (bytes):
size:>50000 
size:<10000 

Search by dependency name/version:
dependency:log4j 
dependency:log4j=1.0.0 
dependency:log4j>1.0.0 

Search by uploaded date:
uploaded:>"1 day ago" 
uploaded:<"August 14, 2022 EST" 

Search by entitlement token (identifier):
entitlement:3lKPVJPosCsY 

Search by policy violation:
policy_violated:true
deny_policy_violated:true
license_policy_violated:true
vulnerability_policy_violated:true

Search by repository:
repository:repo-name

Search by last download date:
last_downloaded:<"30 days ago" 
last_downloaded:>"August 14, 2022 EST" 

Search queries for all Debian-specific (and related) package types

Search by component:
deb_component:unstable

Search queries for all Maven-specific (and related) package types

Search by group ID:
maven_group_id:org.apache

Search queries for all Docker-specific (and related) package types

Search by image digest:
docker_image_digest:sha256:7c5..6d4
(full hashref only)

Search by layer digest:
docker_layer_digest:sha256:4c4..ae4
(full hashref only)

Search queries for all Generic-specific package types

Search by file path:
generic_filepath:path/to/file.txt

Search by directory:
generic_directory:path/to

Field type modifiers (depending on the type, you can influence behaviour)

For all queries, you can use:
~foo for negation

For string queries, you can use:
^foo to anchor to start of term
foo$ to anchor to end of term
foo*bar for fuzzy matching

For number/date or version queries, you can use:
>foo for values greater than
>=foo for values greater / equal
<foo for values less than
<=foo for values less / equal

Need a secure and centralised artifact repository to deliver Alpine, Cargo, CocoaPods, Composer, Conan, Conda, CRAN, Dart, Debian, Docker, Generic, Go, Helm, Hex, HuggingFace, LuaRocks, Maven, MCP, npm, NuGet, P2, Python, RedHat, Ruby, Swift, Terraform, Vagrant, VSX, Raw & More packages?

Cloudsmith is the new standard in Package / Artifact Management and Software Distribution.

With support for all major package formats, you can trust us to manage your software supply chain.

Start My Free Trial

npm logo array-flatten  1.1.1

One-liner (summary)

No summary - See description for more info.

Description

Flatten an array of nested arrays into a single flat array

Size

1.9 KB

Downloads

8

Status  Completed
Checksum (MD5) dc8f65c347b435464faa4e6e6bc01d3a
Checksum (SHA-1) 9a5f699051b1e7073328f2a008968b64ea2955d2
Checksum (SHA-256) 1aca1277ec265d578b3ff517a8a7a07dbab5e6edd349775830ef38c38d6426ed
Checksum (SHA-512) 3c254042cc167a6bba51dc6c0c5157ffe815798a8a0287770f75159bdd631f0ca7…
ECDSA Signature
ECDSA Fingerprint 2dead35865cb1869d2ce573718b8cd2b
Storage Region  Dublin, Ireland
Type  Source (contains source code or documentation)
Uploaded At 9 months, 2 weeks ago
Uploaded By Fetched by Cloudsmith
Slug Id array-flatten-111tgz-fzu9
Unique Id HcvHmiBA9PtB
Version (Raw) 1.1.1
Version (Parsed)
  • Major: 1
  • Minor: 1
  • Patch: 1
  • Type: SemVer (Strict)
  extended metadata
Package 100% Valid
Author Blake Embrey <hello@blakeembrey.com>
Author URL http://blakeembrey.me
Bugs URL https://github.com/blakeembrey/array-flatten/issues
Dev Dependencies 'istanbul' '^0.3.13' | 'mocha' '^2.2.4' | 'pre-commit' '^1.0.7' | 'standard' '^3.7.3'
Files LICENSE | array-flatten.js
Homepage URL https://github.com/blakeembrey/array-flatten
Keywords arguments | array | depth | flatten
Main array-flatten.js
Repository Type git
Repository URL git://github.com/blakeembrey/array-flatten.git
Scripts 'test' 'istanbul cover _mocha -- -R spec'
pkg array-flatten-1.1.1.tgz 8
1.9 KB
md5 sha1 sha256 sha512
Package Contents (array-flatten-1.1.1.tgz)
Loading...

This package has 6 files/directories.

Last scanned

9 months, 2 weeks ago

Scan result

Clean

Vulnerability count

0

Max. severity

Unknown

You can embed a badge in another website that shows this or the latest version of this package.

To embed the badge for this specific package version, use the following:

[![This version of 'array-flatten' @ Cloudsmith](https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/npm/array-flatten/1.1.1/x/?render=true)](https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/npm/array-flatten/1.1.1/)
|This version of 'array-flatten' @ Cloudsmith|
.. |This version of 'array-flatten' @ Cloudsmith| image:: https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/npm/array-flatten/1.1.1/x/?render=true
   :target: https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/npm/array-flatten/1.1.1/
image::https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/npm/array-flatten/1.1.1/x/?render=true[link="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/npm/array-flatten/1.1.1/",title="This version of 'array-flatten' @ Cloudsmith"]
<a href="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/npm/array-flatten/1.1.1/"><img src="https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/npm/array-flatten/1.1.1/x/?render=true" alt="This version of 'array-flatten' @ Cloudsmith" /></a>

rendered as: This version of 'array-flatten' @ Cloudsmith

To embed the badge for the latest package version, use the following:

[![Latest version of 'array-flatten' @ Cloudsmith](https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/npm/array-flatten/latest/x/?render=true&show_latest=true)](https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/npm/array-flatten/latest/)
|Latest version of 'array-flatten' @ Cloudsmith|
.. |Latest version of 'array-flatten' @ Cloudsmith| image:: https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/npm/array-flatten/latest/x/?render=true&show_latest=true
   :target: https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/npm/array-flatten/latest/
image::https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/npm/array-flatten/latest/x/?render=true&show_latest=true[link="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/npm/array-flatten/latest/",title="Latest version of 'array-flatten' @ Cloudsmith"]
<a href="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/npm/array-flatten/latest/"><img src="https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/npm/array-flatten/latest/x/?render=true&show_latest=true" alt="Latest version of 'array-flatten' @ Cloudsmith" /></a>

rendered as: Latest version of 'array-flatten' @ Cloudsmith

These instructions assume you have setup the repository first (or read it).

To install/use array-flatten @ version 1.1.1 ...

npm install 'array-flatten@1.1.1'

You can also install the latest version of this package:

npm install 'array-flatten'

If necessary, you can specify the registry directly:

npm install \
  --registry=https://npm.cloudsmith.io/demo-docs/awesome-repo/ \
  'array-flatten@1.1.1'

Alternatively, you can add it to dependencies in your project package.json file:

{ "dependencies": { "array-flatten": "1.1.1" } }

If you're using yarn, you need to add always-auth to your user or project .npmrc:

always-auth
Warning: We highly recommend using npm dependencies in your own project rather than installing directly.
Previous Version
Next Version
Top