extra-array-view

An array view is a proxy to an underlying array.

https://github.com/nodef/extra-array-view

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.7%) to scientific vocabulary

Keywords

array extra from-array view
Last synced: 6 months ago · JSON representation ·

Repository

An array view is a proxy to an underlying array.

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 2
  • Releases: 1
Topics
array extra from-array view
Created almost 6 years ago · Last pushed 11 months ago
Metadata Files
Readme License Citation

README.md

An array view is a proxy to an underlying array.
📦 Node.js, 🌐 Web, 📜 Files, 📰 Docs, 📘 Wiki.


This package provides a view to an underlying array. It is a proxy of the array, and any changes made to it are reflected in the underlying array. It is similar to a slice of an array, but it does not copy the array. To obtain a view, use the fromArray() function.

With this package, you can simplify the implementation of complex algorithms. Try it out today! This package is available in Node.js and Web formats. To use it on the web, simply use the extra_array_view global variable after loading with a <script> tag from the jsDelivr CDN.

Stability: Experimental.


```javascript const xarrayView = require('extra-array-view'); // import * as xarrayView from "extra-array-view"; // import * as xarrayView from "https://unpkg.com/extra-array-view/index.mjs"; (deno)

var x = [10, 40, 30, 20, 50]; var y = xarrayView.fromArray(x, 1, 4);

y[0]; // → 40

y[1]; // → 30

y.at(-1); // → 20

y.sort(); x; // → [ 10, 20, 30, 40, 50 ]

y.reverse(); x; // → [ 10, 40, 30, 20, 50 ]

y.fill(0); x; // → [ 10, 0, 0, 0, 50 ] ```



Index

| Property | Description | | ---- | ---- | | fromArray | Convert array range to array view. |



References




ORG Coverage Status Test Coverage <!-- DOI -->

Owner

  • Name: nodef
  • Login: nodef
  • Kind: organization

A summary of programs made with Node.js.

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Sahu
    given-names: Subhajit
    orcid: https://orcid.org/0000-0001-5140-6578
title: "nodef/extra-array-view: An array view is a proxy to an underlying array"
version: 1.0.0
doi: 10.5281/zenodo.7922149
date-released: 2023-05-11

GitHub Events

Total
  • Push event: 2
Last Year
  • Push event: 2

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 1
  • Total pull requests: 6
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 year
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 6
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • wolfram77 (1)
Pull Request Authors
  • dependabot[bot] (6)
Top Labels
Issue Labels
Pull Request Labels
dependencies (6)

Packages

  • Total packages: 2
  • Total downloads:
    • npm 73 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 65
  • Total maintainers: 1
npmjs.org: extra-array-view

An array view is a proxy to an underlying array.

  • Versions: 33
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 45 Last month
Rankings
Downloads: 11.6%
Forks count: 15.9%
Stargazers count: 21.6%
Average: 28.1%
Dependent repos count: 37.5%
Dependent packages count: 54.0%
Maintainers (1)
Last synced: 6 months ago
npmjs.org: extra-array-view.web

An array view is a proxy to an underlying array {web}.

  • Versions: 32
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 28 Last month
Rankings
Downloads: 12.2%
Forks count: 15.9%
Stargazers count: 21.6%
Average: 28.2%
Dependent repos count: 37.5%
Dependent packages count: 54.0%
Maintainers (1)
Last synced: 6 months ago

Dependencies

package-lock.json npm
  • 104 dependencies
package.json npm
  • @extra-array/index ^2.10.8 development
  • extra-build ^1.1.27 development
.github/workflows/ci.yml actions
  • actions/checkout v4 composite
  • actions/setup-node v3 composite
  • coverallsapp/github-action master composite
  • nodef/git-config.action v1.0.0 composite
  • nodef/npm-config.action v1.0.0 composite
  • paambaati/codeclimate-action v3.0.0 composite
.github/workflows/pr.yml actions
  • actions/checkout v4 composite
  • actions/setup-node v3 composite