pure-swap

v1.0.0
Pure function to swap the position of two elements in the array
array swap elements

test

mocha --reporter nyan

tdd

npm test -- --watch

release

npm version ${BUMP:-"patch"} --no-git-tag-version && git add package.json && git commit -m ":octocat: Bump to $(cat package.json | json version)" && git tag $(cat package.json | json version) && git push && git push --tags && npm publish

Metadata

  • MIT
  • >=0.10.0
  • Philipp Alferov
  • released 4/1/2016

Downloads

Maintainers