1.0.0 • Published 23 days ago

@crabas0npm/dolor-laboriosam-ipsam v1.0.0

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 '@crabas0npm/dolor-laboriosam-ipsam'

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 @crabas0npm/dolor-laboriosam-ipsam

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:

byteLengthlessfileES2022envIteratorArray.prototype.flatMapdatapicomatchxtermES7stylefunctionecmascriptasciiconsolereact animationextensionobjectasyncoptimistio-tstapparentsutilitiesvaluesPushflagstringifiercoretouchstablefast-clonefindupcontainskarmanodepasswordclass-validatorvariables in cssmkdirpECMAScript 3ECMAScript 5TypeBoxwatchingesnpminterruptsgdprruntimefastclonelibphonenumberwordwrapfullgroupByisConcatSpreadableentriescopymimetypesdeepcloneReactiveExtensionsinstallcoercibleperformancewordbreakbddfastifyArray.prototype.flatdebuggerarraysgradients css3reuseoperating-systemRegExp#flagscollectionArray.prototype.flattenstatusqueueMicrotaskwebidleregexconnectbootstrap cssESnegativeopenbreakArray.prototype.findLasteslintplugintoolsWebSocketsArrayBuffersidees2015argparsecolumnsreact-hookscryptoavasetPrototypeOfserializecss lesspreserve-symlinkssetImmediateloginputFloat32Arraydescriptorschemasliceinternalgrouprmdirimmerregular expressionvisualchromiumlinkmakefixed-widthES2020moveECMAScript 2021uninstalleslint-pluginsearchless compilercss-in-jsenvironmentnegative zeroartes2016keywalkmimebrowserliststreams2HyBimatchAlljson-schema-validatorviewfast@@toStringTagconfiges-abstractworkspace:*rmshellwriteRFC-6455optionmime-dbmodulejsstructuredClonetoobjectstatelessES5nativejsonschemaindicatortostringtagstringifycommandObservablespackagesastmacostrimEndenumerablejsonpathObject.getPrototypeOfnested cssprogressquerybundlerirqformattinghasOwncolourclassesbyteOffsetpnpm9stdlibwalkingprotobuftranspilewarningless cssES2018middlewarelastajvcomparees7typedarrayMapsuperagent-0superstructtypescriptchromeargverror-handlingnamecompilerequalityconcurrencydomBigInt64ArraystringexitquerystringphonehelpersArray.prototype.filtermulti-packagesetterairbnbiegetintrinsicapollofast-deep-clonemetadatakoreanvaluetelephonematchescryptjavascriptequalsymboldirttyes2017estreecall-boundpyyamldeepCSSStyleDeclarationObject.definePropertyproptextdataViewprotoform-validationObject.keysBigUint64Arrayes2018awesomesaucetslibsortcharacterstaskMicrosoftcss nestingless mixinswaitcharacterintrinsicdroptypeduuidtypesafelimitstylespromisesfsgradients csscommanderECMAScript 2023promisecreatebcryptbusyUint8Arraycallbacktrimbabel-corestyled-componentsUint8ClampedArrayunicodedeepcopyratelimitjson-schemainternal slotguidframerterminaltoArraythrottleRxjsxreal-timesymbolsautoprefixerdependenciesmixinsES2016privatereadablelintduplexmobileuser-streamspreprocessori18n__proto__circulardayjsSymboltermconsumeJSONauthObject.entriesstylingArrayBuffer.prototype.sliceECMAScript 2018packageharmony.envclassname0wgettoStringTagpackage.jsontapemkdirprunecallbindhasECMAScript 7eslintfast-copySetforEachremovevalidatorless.jstsassertionrm -frtyped arrayglobyamlreact-hook-formwatchweakmapbatchgenericsobjlanguagelistenersECMAScript 2015variablesimmutableexpressrequestwidthshrinkwrapconfigurableaccessorwrappolyfillStreamssignaljsdomnodejstestURLrapidupschemenopereactjson-schema-validationinspectcomputed-typesfullwidthES3make dirtrimRightutilFunction.prototype.nameexecgetPrototypeOfserializeraccessibilityoptimizerprocessprettyObjectfunctionsprivate dataargsutil.inspectyupECMAScript 2017ArrayeslintconfigpositiveparentlengthvarArrayBuffer#slicebabelrequireposecompile lessfull-widthlimitedcall-bindmonorepohardlinksprototypechinesesymlinkqsfile systemxhrajaxfindLastassertstyleguideconcatMaparraybuffercliiterationgraphqlloggerfastcopycodescode pointsECMAScript 2019ES2023columnsharedES2017signals_.extenddatastructuretypedarraysregularArray.prototype.includesES2015mru256findString.prototype.trimwindowsspinnerfilterspeedbundlingUint16ArrayReflect.getPrototypeOfObject.isvestcollection.es6TypedArraycloneeverydatebufferwatchFilevalidextraendercallcjklinuxmoduleshandlersreducerkeysObservablebrowserslistrfc4122corsES2019flatpopmotionzerohookformflattenclassnamesoutputshamspecjasminehooksemojiES8randomisfetchbindreadablestreamfseventsshimsortedbannerutilitywhichregular expressionschecklockfilefromawaitpackage managerInt32ArraytakeArray.prototype.findLastIndexArray.prototype.containsletstreamurldescriptionbyteInt16ArrayFloat64ArraysomeECMAScript 2022lazyTypeScriptinstallerlrudom-testing-libraryredactconcatformstranspilerjsdiffbrowserInt8Arrayassignes-shimsString.prototype.matchAlldescriptorsfolderthreeCSSargumentcommand-linesharedarraybufferapimomentES2021spinnerses-shim APIPromisewhatwgtoolkithttpchannelencryptionjesttypanioncssnumberextendAsyncIteratoriteratordeep-cloneboundlinewrapratereact poseexpressionreduxeventDispatcherprotocol-buffersdotenvperformantiteratetddObject.valuesWeakSetdebuggetoptinferenceeast-asian-widthwaapivalidatepushbluebirdloadingparsegetterspringmergesequencedirectoryparserassertsponyfillgetOwnPropertyDescriptorpropertiesworkercensorlookUint32ArraycolorsflagspipejoiincludeseventEmitterrobustscheme-validationreadredux-toolkitfindLastIndexRegExp.prototype.flagsdeep-copyYAMLbootstrap lesstimeJSON-Schemaimportcore-jspathdefinechaifast-deep-copyresolvebuffersoncestarterdeleteeventscolorpostcssemit3dreducepropertyoffsetsettingsgesturesflatMapReactiveXtrimLeftsymlinksSymbol.toStringTagconsttrimStartescapereact-testing-librarypersistentdataviewminimales8ECMAScript 2020writableUnderscoreWebSocketformatgetansiRxJSsyntaxtypessafenamespostcss-plugintypeofObject.assignECMAScript 6japaneseObject.fromEntriesURLSearchParamsdependency managercss variablees6matchfiglet$.extendjwttypeomitlook-uptoSortedjQueryweaksetefficientrangeerrorquoteexit-code[[Prototype]]invariantforma11yprefixvalidationclientwatchertraverseplugintesterrm -rffind-uphashcallboundECMAScript 2016regexphigher-orderlesscssstreamsdefinePropertyelectronshebangslottypeerrorloggingarraysameValueZerocachepatcharktypeauthenticationtestingfunctional
1.0.0

23 days ago