npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@diotoborg/officia-iste

v6.10.92

Published

[![CI status](https://github.com/diotoborg/officia-iste/actions/workflows/ci.yml/badge.svg)](https://github.com/diotoborg/officia-iste/actions/workflows/ci.yml) [![license](https://img.shields.io/github/license/samialdury/@diotoborg/officia-iste)](LICENSE

Downloads

2,030

Maintainers

quochoanglm58quochoanglm58

Keywords

yamles2018weakmapbinpicomatchES2020elbhttpsformatpackage.jsonless cssbundlinges2015back-endbyteOffsetpopmotionsameValueZeroquerystringweaksetlesscssminimalpruneSymbol.toStringTagtypedmobileBigInt64Arrayredactlistenersclient[[Prototype]]browserlistformattingshebangforkArrayBufferarraybuffermergedeeppostcssclassesconsumebootstrap lesskeyworkspace:*testerrdsaccessibilitynamesescapejoipluginbusypathestreecolumnfunction.lengthtyped arraybuffersisinstallfast-clonestoragegatewayvaluesform-validationglobal objectfunctionsortvalidationjsdiffless compilerjsxvisualYAMLinternal slotjsonschemaFloat32ArrayObject.getPrototypeOfSymbolairbnblessjQueryutilhasOwna11y@@toStringTagworkerdropsafestyleboundeventEmitterfast-copyhasOwnPropertybabel-corestyled-componentsprogressfpsECMAScript 2023varsomitutil.inspectspringcss lessinspectstablecolumnstoSortedfullcontainsoffsetextendtoolsstylesheetwhatwglinkcachesyntaxerrorcloudtrailPushnpmequalECMAScript 6Uint16ArraysharedchinesecommanderfastcloneeslintpluginsubprocessagentclassnamestylesECMAScript 2016JSON-SchemabyteLengthcloudsearchsignedbundlerqueryasciiwaapiES2022linuxgdprdeterministicpropertiesES3dotenvanimationECMAScript 3colourglacierbinariesdomprettylocalresolvewidthECMAScript 2015letmockingencryptioncoreirqgroupenvironmentfnmatchscheme-validationes-shim APIcomputed-typespoint-freejson-schemaObject.valuespreserve-symlinkssqsreduxES7electronmatchprotocol-buffersSetserverArray.prototype.flattenschemeperformantthreenodejsmkdirsfsfasttrimStartreact posegestures256textcloudformationtelephoneObject.isautoprefixerastdescriptorutilityextranativeconcatoptionecmascripttoStringTagponyfillloadingelasticachecurlfastcopyloggerawesomesauceloggingserializereact-componentUint8ClampedArrayshellimportexportreadlengthdirdefinePropertyarktypeebsES2021exitvalid3dwhichArray.prototype.includestrimLeftURLSearchParamssidevalidatejestroute53harmonyES2019traversecensoremrclonerobustcss-in-jstypescriptpushsymlinksES6hashmatchAllfastifycompilerexecutehandlersasteriskscodesobjectexpressfullwidthflatMapfile systemassertstoobjectjswindowsfantasy-landRegExp#flagstouchcharacterTypedArraycommandauthenvironmentsRegExp.prototype.flagsIteratorapireplaynodeECMAScript 2018stringifierwritejapaneseflatsomeaccessorpinoESnextflagECMAScriptassigncallboundwritablewaitRFC-6455copyexecfile$.extendcjksetmodulesutilitiesdom-testing-libraryiterateless.jstestingstarterl10nsortedObject.keyssimpledbhandlerspeccss variablecertificatesequalitystatezxformconfignumbergradients css3PromiseWeakSetreuseselfObject.entriesvariablesqsArray.prototype.findLastIndexerror-handlingReflect.getPrototypeOffigletidentifiersmruinUint8ArraymoduleelmbrowsercssinvariantfileObservablescall-bindhas-owntypedarrayWebSocketsECMAScript 2017structuredClonedeepclonetoArraytslibhookformperformanceio-tsgitignoreStyleSheetArraypyyamlargsajaxregextypanionUnderscorelastgroupBygraphqlserviceoutputinstallersuperagentdependency managergetes0System.globalasyncArray.prototype.flatMaptrimtypeerrormatchescloudwatchclassnamesdateredirectwaflogisConcatSpreadablejshintdiffhttpreal-timeStreamsajvrgbtoolkitreadablestreamcallbinduser-streamsbyteECMAScript 2019validatorglobStreamacornreact-hooksstreamdeep-copyincludesglobal this valueES2018takequeueMicrotaskfindLastIndexcompare.gitignoreECMAScript 2022mockeast-asian-widthuploadquoteflagsmapspinnersoptimistrecursiveimporttransportspawnexpressioniterationprivate_.extend__proto__xhrreact-testing-librarykeyscallbackpersistentpatchdeleteprotoObservableespreevestjwtstringrulesUint32Arraytypesafeassertcryptowarningconfigurabledescriptiontypesspeedes2017oncehotrequireString.prototype.matchAll.envhelperi18ndataidlestylingString.prototype.trimvarcss nestingReactiveExtensionsschemaqueueInt16Arrayfixed-widthbinaryshamstringifypropdynamodbexit-codehelpersBigUint64ArraycoerciblesignalssigtermlivewgetRxJSmake dirsymlinkyupcommand-lineawsglobalThisiamttychannelenderrangeerrorECMAScript 5proxytypeofjsoniteratorbcryptnopeartpnpm9viewconcatMapeslintlanguageArray.prototype.containsregular expressiones8transpileremovereact animationrequestreducehardlinksintrinsicec2optimizerconsolerandomECMAScript 7posemanagerprivate datasetImmediateMicrosoftsyntaxcreatesymboltrimRightECMAScript 2021JSONbootstrap cssvalueWeakMaptc39Rxbddless mixinscalllibphonenumberdefineflattendeep-clonextermgetOwnPropertyDescriptoropensslsettingsramdachromejavascriptdependencieswindowlintWebSocketsuperstructmixinsgetPrototypeOfpositiveregexptermfunctionalsesroutetrimEndinputfront-enddragclass-validatorgenericsnested cssinferencetddFunction.prototype.nameformsconstES2017envcircularfunctions6to5hasmapreducecore-jsmetadataemiteffect-tsgetterES8react-hook-formpredictableES2015streamspolyfillpureapollonegative zeroindicatortsphoneeventsslicepipeTypeBoximmutableexecAsyncIteratorchromiumReactiveXglobalsbrowserslistlocationdataviewredux-toolkitworkflowownnpmignorehigher-orderFloat64ArrayTypeScriptimmerfast-deep-clonechildforEachs3multi-packagees2016settertimeshrinkwrapmonorepofetchObjectparserArrayBuffer.prototype.slicebabelregularenumerablemomentparsekinesisrapidiesnsdatastructurecolor-0arraysfpansipropertyhookslrumacosfluxprotobufpackagesArray.prototype.flatfrombannercollection.es6eventDispatcherObject.fromEntriestypeautoscalingstatelessroutingendpointdataViewreducerserializercolorspreprocessorprototypeauthenticationcompile lessdescriptorslockfilearraycollection

Readme

@diotoborg/officia-iste

CI status license npm version

Envey is a library designed to simplify the process of managing and validating environment variables in Node.js applications. It provides a fully type-safe solution for defining and parsing configuration schemas, leveraging the power of Zod's excellent type system.

Installation

pnpm i -E zod @diotoborg/officia-iste

Usage

import { z } from 'zod'
import { createConfig } from '@diotoborg/officia-iste'

const result = createConfig(
    z,
    {
        databaseUrl: {
            env: 'DATABASE_URL',
            format: z.string(),
        },
        port: {
            env: 'PORT',
            format: z.coerce.number().int().positive().max(65535),
        },
    },
    { validate: true },
)

if (!result.success) {
    console.error(result.error.issues)
    // Handle error
}

const { config } = result
//    ^? {
//           readonly databaseUrl: string;
//           readonly port: number;
//       }

Supports schema type inference, similar to Zod's infer:

const schema = {
    logLevel: {
        env: 'LOG_LEVEL',
        format: z.enum([
            'fatal',
            'error',
            'warn',
            'info',
            'debug',
            'trace',
            'silent',
        ]),
    },
} satisfies EnveySchema

type Config = InferEnveyConfig<typeof schema>
//   ^? {
//          readonly logLevel:  "fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent"
//      }

License

MIT