1.0.0 • Published 25 days ago

@hutechtechnical/suscipit-numquam-corporis-libero v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
25 days ago

Compare: a total order on all JSON values

This package provides an implementation of compare(a, b) function that establishes a total order on the set of all valid JSON values. This can be useful in scenarios where you need to compare JSON objects or values to determine their relative order.

Installation

Please use the package manager of your choice, e.g.

npm install @hutechtechnical/suscipit-numquam-corporis-libero

Usage

import compare from '@hutechtechnical/suscipit-numquam-corporis-libero';

const json1 = { name: 'Alice', age: 30 };
const json2 = { name: 'Bob', age: 25 };

const result = compare(json1, json2);

if (result === 0) {
  console.log('json1 and json2 are equal.');
}

if (result < 0) {
  console.log('json1 comes before json2.');
}

if (result > 0) {
  console.log('json1 comes after json2.');
}

License

This package is released under the MIT License (LICENSE).

hooksvalidateArray.prototype.includeschromerm -rfArray.prototype.findLastIndexes6groupObservablesproxyintrinsicspinnerredux-toolkitarraytoSortedtyped arraysqstestframerwarningUint8ClampedArrayprettyexecopenerObject.definePropertyjsonArrayBufferbundlerthreenodeaccessibilityunicodedataviewsideRxJSreact poseECMAScript 7utilitiesstdlibastpackage managerchromiumparentsPromiseesreduxphonebannerexecutableES7varssafeconcatoptimizerfastclonemimesetPrototypeOfeslintpluginfunctionsvaluessuperstructpropertymodulesnodejsECMAScript 2017Mapinternalcharsetmapconsumemime-dbequalincludespostcss-pluginyupObject.getPrototypeOfreact-testing-librarycoerciblehasYAMLtsairbnbcolumnsfpsinstallcensorlibphonenumbercopytoArraydefinejshintES2017Streamstyled-componentscallboundserializationcommanderlooknameString.prototype.trimtapeyamlrmdirfast-copynegativecomparebusycallbindamazonvalidationerroragentpnpm9wordwrapfunctionemojiextratrimRightawaitenderfast-deep-copyfile systemajvemrparsingES3environment__proto__flagsfixed-widthglobpromisesfileArray.prototype.filterHyBitrimwritableuuidCSSStyleDeclarationappcloudtraillinewrapES2023argumentpropextendBigInt64ArrayschemargbflatObject.isbluebirdqueuecharacterformatURLsortcall-boundprivatewebsiteinspectdefineProperty256ES2021cliarktypetrimStartschemefindLastIndexiteratornameses2015searchloghttpform-validationdiffes5icueventDispatchertoobjectArray.prototype.findLastperformantrfc4122ownsuperagentshimobjectxtermpush@@toStringTagutilasciiloggingrequireansishrinkwrapbindvaluemruformspringhookformreducerroutingtrimLeftECMAScript 5tddjsdomi18nutil.inspectArrayhardlinksfastparserquerystringprogresssymbolpipeiterationvariablesjsonpathprotocmdgetoptprotocol-buffersdatastructuretraverseentriesbrowserTypedArraydebugcommandArray.prototype.flatreact-hook-form3dboundtakeESreact animationbrowserlistfunctionaldragiedescriptor
1.0.0

25 days ago