1.0.0 • Published 15 days ago
@npmteam2024/maxime-blanditiis-neque v1.0.0
DependencyResolver
Example usage
var DependencyResolver = require('@npmteam2024/maxime-blanditiis-neque'); //if in node env
var resolver = new DependencyResolver(); //or new grom.DependencyResolver(); when in browser env
resolver.add('a');
resolver.add('b');
resolver.add('c');
resolver.add('d');
resolver.setDependency('d', 'c');
resolver.setDependency('c', 'b');
resolver.setDependency('c', 'a');
resolver.setDependency('b', 'a');
resolver.resolve('d'); //=> ['a', 'b', 'c', 'd'];
resolver.sort(); // => ['a', 'b', 'c', 'd'];
resolver.resolve(serviceName:string):string[]
Resolves dependencies of serviceName
.
resolver.sort():string[]
Returns all services in the right order.
License - ISC
ISC is even simpler MIT like license
settertypedbyteOffsetintrinsiclintxdgconfigurablevaraccessorRFC-6455rangeerrorwebsitedataViewprettyless.jstypedarraystouchponyfillarraycommand-lineMapwritablenopeaccessibilitysuperagentsanitizationshimWebSocketsprivatesigtermuninstallUint8ArrayargumentstyleguideECMAScript 2018react animationArray.prototype.findLastfunctionspipemodulewindowsbrowserlistvalidateURLSearchParamsmonorepotc39Object.getPrototypeOfflattenpoint-freeerror-handlingqueuefigletObject.keysbootstrap lesssetImmediateomitjsdiffeslintconfigirqoffsetbabelvestviewregulartslibpushES2019less compilervalidationpopmotionlinuxes2015toArrayglobgroupcss-in-jsStyleSheetlinkspawntypescriptclass-validatorkeysimmutable.envECMAScript 2016schemecurldragconsumeECMAScript 2020directoryUnderscorepolyfillECMAScript 2023ReactiveXtelephonereactvalueschildcachetraversebreakeventsobjtacitESbcryptfastbrowserconstqueueMicrotaskbabel-coreloggingfilterargumentsyupcsstoSortedFunction.prototype.namerm -rfdifflengthpathmkdirpsymlinksgenericsredactreducerl10npromisesdebuggerArrayBuffer#sliceArray.prototype.findLastIndexkoreantypanionjapaneseHyBitrimRightcryptinternalserializefrom-0urlgdprCSSrequiresymbolssymbolCSSStyleDeclarationserializerhookformposeasyncjsdomrmdirenvironment[[Prototype]]fast-deep-copymimeStreameverypackage.jsonECMAScript 2022private datacollection.es6dayjschanneleventEmitterlibphonenumbertapargssortedhttpdomspeedforEachhashramdaduplexdropgetOwnPropertyDescriptorhasmakeless cssdeepcopyuuidwordwrapdeterministicTypedArraywatchcode pointsstringifieriterationoptiontypeerrorspringprotobufURLtypecolorobjectprototypeutilitiesenvexpressionfindupcss lessfunction6to5formatavawidthspinnersjson-schemamulti-packageArrayiteratorurlsassertionbluebirdmovemapfast-copyautoprefixerstartcall-bindinstallReflect.getPrototypeOfECMAScript 3stringifyguidchai_.extendfastcopyslottsquotesomejson-schema-validatorfileinternal slotObservablesMicrosoftECMAScript 6negative zerobyteLengthtddperformanthookspyyamla11yjasminezeroutilswaapitoolsletinputpreserve-symlinksPushsuperstructoncenumberthroatequalitywarningsideTypeBoxparentcryptolesscsslogfseventsencryptionbootstrap cssdeepclonejoiES6weakmapconfigSetimportstatelessfullwidthsyntaxweblazythrottlecollectionprefixmiddlewarereact-hooksefficientoptimizerrm -frfetchtyped array3dES3workspace:*keyfindLastlockfileregexpshrinkwrapoutputreduxcjkvalidatorObject.fromEntriesi18ncall-boundentriespasswordreact-hook-formgroupByqueryes5compilerString.prototype.trimyamltestJSON-Schemafunctionalstatusmake dirisConcatSpreadableArray.prototype.flatconcurrencyunicodeFloat64ArraygetPrototypeOfcharactersetPrototypeOfanimationframeworklessthreematchesfulles7minimalreadInt8ArrayreadableecmascriptupimmerarraysUint16Arrayrandomparentsmomentphoneutiljavascriptwalkregular expressionscallbinddependenciesdescriptorsmobiletypeofmrufindLastIndexRegExp.prototype.flagsdatetrimLeftsortopenBigUint64Arrayxdg-openECMAScript 5transpilercallbackgetnativeextendexedefaultappless mixinsStreamscmdpicomatchpruneapolloconnectinvariantstructuredCloneformses6commandspinnerprotocol-buffersclassnamecharactersclassnamescompile lessES2015idwatcherhandlerspnpm9patchparserhigher-ordertakemergeES2022gradients csseslintpluginECMAScript 2017iteratelinewrapdeep-copypackage manageropenerwrapmixinsgraphqlcomparecomputed-typesslicepuremodulesmkdirsstarterbundlernodeelectronECMAScript 2019matchnamestyledebugtapetrimstyled-componentsshelldescriptionArrayBuffer.prototype.slicejsoncorscircularemitincludesjson-schema-validationArray.prototype.flattenbatchcopyES2020bannerES2018hardlinksES8Float32ArraycallboundRxJSpromisesanitizeES2017propbddtrimEndflagsregexgetintrinsicjestString.prototype.matchAllschemanamessignalchinesenodejsrfc4122transpilebufferconcatcorecallendercolumnsrequestdefinePropertytypesafechromiumtaskparsexssspeccontainsresolveqsauthenticationAsyncIteratorcurriednpmes2018hasOwnprotosafesharedarraybuffercodesfull-widthtrimStartlimitedtypedarrayxtermform$.extendajvreusePromiseJSONchromettyrmfolderdotenvbundlingRxcore-js@@toStringTagexit-code256fastifyastharmonyscheme-validationrapidoperating-systemUint32Arraycss variableawesomesaucejsonpathpluginreducecolumnjQuerywatchFilees2017whichratelimitECMAScript 2015YAMLfast-cloneloggerObject.assignargparseexpressIteratorclassesgettereslintwatchingInt32Arraydeep-cloneObject.definePropertytestinginstallercliwhatwgmochasettingsSymbolvariables in cssfscoercibleloadingio-tsprogresswalkinginterruptscommanderdatastructuredom-testing-librarytostringtagopensxhrArray.prototype.includesjsonschemaArray.prototype.flatMap__proto__ES2021rgbwaitbrowserslistArray.prototype.containsutilityTypeScripttesterfast-deep-clonepropertystabletypespreprocessorObject.entriesObject.isfind-upauthnested csstoolkitclonefpUint8ClampedArrayflatMapvariablesperformance
@libphamton/chatfanpage@libphamton/fb-group@npmmaintea/cautious-waddle@npmmaintea/glowing-broccoli@npmmaintea/potential-octo-dollop@npmmaintea/psychic-doodle@npmteam2024/alias-quam-nesciunt@npmteam2024/consequatur-beatae-voluptas@npmteam2024/cumque-officiis-voluptas@npmteam2024/delectus-ipsum-reprehenderit@npmteam2024/dolor-accusantium-iste@npmteam2024/doloremque-deserunt-reiciendis@npmteam2024/ea-dolores-animi@npmteam2024/eius-tempore-ratione@npmteam2024/eum-laboriosam-nam@npmteam2024/eveniet-possimus-eum@npmteam2024/explicabo-aut-architecto@npmteam2024/iste-sequi-delectus@npmteam2024/minus-quam-corrupti@npmteam2024/nemo-culpa-eligendi@npmteam2024/nesciunt-qui-minima@npmteam2024/pariatur-fuga-deserunt@npmteam2024/praesentium-eveniet-ipsam@npmteam2024/qui-consequatur-non@npmteam2024/quisquam-dicta-voluptates@npmteam2024/recusandae-rerum-quod@npmteam2024/sapiente-perspiciatis-inventore@npmteam2024/soluta-maxime-error@npmteam2024/tempore-excepturi-pariatur@npmteam2024/turbo-chainsaw@npmteam2024/voluptates-repellendus-ducimus@oraliepham/api-chat-fanpage-facebook@oraliepham/api-facebooknewapi-chat-fanpage-facebookapi-chatfbapi-chatfb-test
1.0.0
15 days ago