npm

Need private packages and team management tools?Check out npm Orgs. »

@pelevesque/sort-object-keys

0.0.4 • Public • Published

Build Status Coverage Status JavaScript Style Guide

sort-object-keys

Sorts an object by keys.

Node Repository

https://www.npmjs.com/package/@pelevesque/sort-object-keys

Installation

npm install @pelevesque/sort-object-keys

Tests

Standard Style & Unit Tests

npm test

Unit Tests & Coverage

npm run cover

Usage

const sortObjectKeys = require('@pelevesque/sort-object-keys')
const unsorted = { "3": 3, "1": 1, "2": 2, "0": 0 }
const result = sortObjectKeys(unsorted)
// result === { "0": 0, "1": 1, "2": 2, "3": 3 }

install

npm i @pelevesque/sort-object-keys

Downloadsweekly downloads

0

version

0.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability