GitShow/sindresorhus/array-move
sindresorhus

array-move

Move an array item to a different position

by sindresorhus
Star on GitHubForknpm

JavaScript

425 stars30 forks9 contributorsQuiet · 3y agoSince 2015v4.0.0MIT

Meet the team

See all 9 on GitHub →
sindresorhus
sindresorhus22 contributions
Richienb
Richienb3 contributions
arthurvr
arthurvr2 contributions
BendingBender
BendingBender2 contributions
Mackhintoshi
Mackhintoshi1 contribution
JulianG
JulianG1 contribution
mathewjoe
mathewjoe1 contribution
szamanr
szamanr1 contribution

Languages

View on GitHub →
JavaScript74%
TypeScript26%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
wdfinch
Incompatible with JestClosedIssue

Hi there. First off thanks for making this library! It's really helpful. I'm having an issue when trying to test my code that uses this library via . I believe the issue that is that jest does not have full support yet for ESM. Therefore during my test, I'm getting: Would it be possible to export a Common JS version of the library as well as an ESM version? Rollup can do this automatically. https://jestjs.io/docs/ecmascript-modules

wdfinch · 3y ago
gunyakov
Node 18 SyntaxError: Cannot use import statement outside a moduleClosedIssue

Try to import this module to node project. Got this error if i use require i got another error if i make i got How properly make import of module to project???

gunyakov · 3y ago
Mackhintoshi
grammar correctionsMergedPR

Just a quick grammar correction in the readme.md file.

Mackhintoshi · 3y ago
Structured data for AI agents

Repository: sindresorhus/array-move. Description: Move an array item to a different position Stars: 425, Forks: 30. Primary language: JavaScript. Languages: JavaScript (74%), TypeScript (26%). License: MIT. Latest release: v4.0.0 (4y ago). Open PRs: 0, open issues: 0. Last activity: 3y ago. Community health: 85%. Top contributors: sindresorhus, Richienb, arthurvr, BendingBender, Mackhintoshi, JulianG, mathewjoe, szamanr, xcsrz.

·@ofershap

Replace github.com with gitshow.dev