1.0.1 • Published 23 days ago

@libgitname/voluptas-hic-voluptates v1.0.1

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

Node TypeScript Codecov Mastodon Medium

Human-friendly process signals.

This is a map of known process signals with some information about each signal.

Unlike os.constants.signals this includes:

Hire me

Please reach out if you're looking for a Node.js API or CLI engineer (11 years of experience). Most recently I have been Netlify Build's and Netlify Plugins' technical lead for 2.5 years. I am available for full-time remote positions.

Example

import { signalsByName, signalsByNumber } from '@libgitname/voluptas-hic-voluptates'

console.log(signalsByName.SIGINT)
// {
//   name: 'SIGINT',
//   number: 2,
//   description: 'User interruption with CTRL-C',
//   supported: true,
//   action: 'terminate',
//   forced: false,
//   standard: 'ansi'
// }

console.log(signalsByNumber[8])
// {
//   name: 'SIGFPE',
//   number: 8,
//   description: 'Floating point arithmetic error',
//   supported: true,
//   action: 'core',
//   forced: false,
//   standard: 'ansi'
// }

Install

npm install @libgitname/voluptas-hic-voluptates

This package works in Node.js >=18.18.0.

This is an ES module. It must be loaded using an import or import() statement, not require(). If TypeScript is used, it must be configured to output ES modules, not CommonJS.

Usage

signalsByName

Type: object

Object whose keys are signal names and values are signal objects.

signalsByNumber

Type: object

Object whose keys are signal numbers and values are signal objects.

signal

Type: object

Signal object with the following properties.

name

Type: string

Standard name of the signal, for example 'SIGINT'.

number

Type: number

Code number of the signal, for example 2. While most number are cross-platform, some are different between different OS.

description

Type: string

Human-friendly description for the signal, for example 'User interruption with CTRL-C'.

supported

Type: boolean

Whether the current OS can handle this signal in Node.js using process.on(name, handler).

The list of supported signals is OS-specific.

action

Type: string\ Enum: 'terminate', 'core', 'ignore', 'pause', 'unpause'

What is the default action for this signal when it is not handled.

forced

Type: boolean

Whether the signal's default action cannot be prevented. This is true for SIGTERM, SIGKILL and SIGSTOP.

standard

Type: string\ Enum: 'ansi', 'posix', 'bsd', 'systemv', 'other'

Which standard defined that signal.

Support

For any question, don't hesitate to submit an issue on GitHub.

Everyone is welcome regardless of personal background. We enforce a Code of conduct in order to promote a positive and inclusive environment.

Contributing

This project was made with ❤️. The simplest way to give back is by starring and sharing it online.

If the documentation is unclear or has a typo, please click on the page's Edit button (pencil icon) and suggest a correction.

If you would like to help us fix a bug or add a new feature, please check our guidelines. Pull requests are welcome!

Thanks go to our wonderful contributors:

diffstreams2Array.prototype.flattimehandlersstylingansiparentrm -rfutilitiesArrayBuffer.prototype.sliceawesomesaucees2015Int8Arrayponyfillfastifymruxtermregexprapidtapebcryptcode pointstranspilerinstallJSONpluginaccessibilityArray.prototype.flattenprocesspatchshrinkwrapFloat64ArrayweaksetMicrosoftes2017postcss-pluginvariablesstreamsmobilereadablestreamflagparsejsonremoveconcurrencyrfc4122ReactiveXdeep-cloneflatreact-hooksfullwidthpruneastObject.assigninterruptssetPrototypeOfconcatMapjoivalidcommandes5ES2021SymbolpipemetadataSymbol.toStringTagbabelvalidatorobjconsthttps-0qstoArraysetImmediateawaitstructuredClonerangeerrorsuperagentESdirqueueasyncshimoptimistconnectweakmapObject.getPrototypeOfFunction.prototype.nameobjectstringStreamsreadablechromehasOwnes8stylerateairbnbinternal slotCSSwaapiwidthgenericszodcallbindprogressjwtparserthreecreatethroatregexgdprnameuninstallcall3derror-handlinginspecturlbootstrap lesshashdomgradients css3jsonpathArray.prototype.findLastIndexloggingpropertiesmatchdayjsbatchprotocol-buffersArrayBuffer#sliceURLspeedrequestpathdirectorylimitreuseeast-asian-widthi18ninternalshellapollofast-clonegetPrototypeOfserializationlookyamlArray.prototype.includesfetchbabel-coreassertsES3nodejsgetteroncetermformatWeakMapgraphqlfastString.prototype.matchAllsharedarraybufferpropTypeScriptirqupautoprefixersetteres6prototyperuntimecollection.es6filterObject.definePropertyObject.valuesuuidmodulesformnumberrecursivefromECMAScript 2020authreducerfunctionmakefseventsjson-schema-validatorhelpersasciiassertajvprotopropertywhichWebSocketmodulejsxdependency managercompilerreal-timeslotworkerfsregular expression_.extend$.extendtaskbuffertypeofredux-toolkitWebSocketsredactECMAScript 2018UnderscorettyjQuerymergereadcss variableReflect.getPrototypeOfArraymake dirmonorepoTypedArrayES6guideslintpluginrmdirnodefastcloneopenUint8ArrayrgbgroupsyntaxerrorcolorCSSStyleDeclarationES5byteOffsetstreamphonetypesinferencewatchFiledependencieses-shim APIUint32ArrayjsonschemalogECMAScript 2022typaniontypedargs256variables in cssmixinseveryhasmatchesworkspace:*transpileeventEmitterwhatwgarraysgradients cssemojiIteratorcjkwarningmkdirsoptiontypedragyupspringenvesECMAScript 2021installercallboundletless mixinsBigInt64Arraysideiterateomitchinesees7util.inspectschemacontainsargvdeepsymlinka11yapicall-bindchaisort6to5iteratorfast-deep-copyjson-schema-validationinvariantajaxdataViewwatchenderfunctionalnopeprefixdeterministicievalidatebluebirdstatelesspicomatchreact-testing-librarytrimbundlerwritablerequirepackagescircularutilitydom-testing-libraryfindLastIndexFloat32Arrayeslintpreserve-symlinksjasminedeep-copysyntaxdotenvreactlessisdebuggerequalwordwrapcall-boundfull-widthform-validationarktypewebescapemimetypespnpm9trimLeftquoteclass-validatorcheckserializeminimalclisequenceargparsekarmacurlstylesdatetypesafelistenerslazyUint16ArrayfindLasteslint-pluginefficientresolvelengthincludesreact animationdescriptorsclientspeces2018Objectes-abstractmacosprivate datadropmkdirclassnamesdeleteidleconsumeYAMLassertionregularutilserializervalidationless cssexpressionoperating-systemstarterPushnativeartbuffersconcatStreamES2020extrawgetsignalsimmutabletouchtypedarraytypedarraystyped arrayprotobufjapaneseduplexclassesdescriptionfind-upmiddlewarelimitedviewaccessorcompareextensionwrapvisualbusy0lruObject.fromEntriesStyleSheettraversesigtermmulti-packagesharedlasttoobjectextendgetoptkoreandatastructureavacollectionfunctionsbannertestArray.prototype.containsindicatorrm -frelectronPromiseECMAScript 6getOwnPropertyDescriptornamescallbacklook-upeventDispatcherdeepclonevestfindtypeerrorreact poseES2017sameValueZerocommanderinputRegExp#flagsdataviewcss nestingHyBihigher-orderArrayBuffertrimStartwatcherisConcatSpreadablesymlinksbrowserslisttextsliceflattenmimetypescriptsafepackagesymbolvarJSON-Schemanegativejson-schemaquerysigintoffsetio-tschromiumpostcssestreegetmomentecmascriptObservablecodessearchcacheECMAScript 2016stablehttpunicodewordbreakintrinsicwriteemithooksvalues__proto__parentsoutputcompile lessES7jsdiffcryptcss-in-jscore-jsECMAScript 7columnspinnercomputed-typescsssuperstructsomerobusteventslinuxnpmargumentInt32Arrayperformanceframerarraybufferbootstrap csslanguagechanneltelephonetoolkitloadingInt16ArraytostringtagencryptiongroupByequalitywalkingdebugjestjsdomtakeTypeBoxObject.iskeysReactiveExtensionspolyfillAsyncIteratorxhrcopycss lessbrowserlistterminalECMAScript 2015fast-deep-clonecharacterspyyamleslintconfigmime-dbfixed-widthRxpromisesfast-copysymbolswindowssetWeakSetprivateURLSearchParamsshebangpackage managerstyled-componentstoSortedsignaltc39charactercolorsfindupdescriptorstatusenumerableflatMapRFC-6455browserESnextmapcommand-lineconfigObject.entriesfulltrimEndbyteLengthpasswordpromisebindES2022importfigletpopmotionECMAScript 2023pushexit-codeentriesscheme.envtapanimationenvironmentbddperformantpersistentfolderthrottlestyleguideflagsl10nUint8ClampedArrayquerystringbundlingassignexecformattinghardlinkscors[[Prototype]]scheme-validationhookformregular expressionsdatazeroMapmovefastcopymatchAllimmercoerciblecorecolumnsstringifierforEachRxJSdefinePropertyclassnamefile systemreducemochaoptimizerString.prototype.trimdeepcopytoolsless compiler@@toStringTagSetposetsuser-streamspackage.jsonES2019watchingpreprocessor
1.0.1

23 days ago

1.0.0

24 days ago