{"id":23721488,"url":"https://github.com/litichevskiydv/processing-context","last_synced_at":"2025-08-18T16:05:46.180Z","repository":{"id":35156898,"uuid":"214232571","full_name":"litichevskiydv/processing-context","owner":"litichevskiydv","description":"Globally accessible processing context based on async_hooks","archived":false,"fork":false,"pushed_at":"2023-01-06T02:26:55.000Z","size":462,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-11T07:01:30.684Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/litichevskiydv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-10T16:29:58.000Z","updated_at":"2020-07-19T13:10:16.000Z","dependencies_parsed_at":"2023-01-15T14:58:40.890Z","dependency_job_id":null,"html_url":"https://github.com/litichevskiydv/processing-context","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/litichevskiydv/processing-context","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litichevskiydv%2Fprocessing-context","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litichevskiydv%2Fprocessing-context/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litichevskiydv%2Fprocessing-context/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litichevskiydv%2Fprocessing-context/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/litichevskiydv","download_url":"https://codeload.github.com/litichevskiydv/processing-context/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litichevskiydv%2Fprocessing-context/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271019403,"owners_count":24685678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-30T22:20:44.176Z","updated_at":"2025-08-18T16:05:46.161Z","avatar_url":"https://github.com/litichevskiydv.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# processing-context\n\n[![npm version](https://badge.fury.io/js/processing-context.svg)](https://www.npmjs.com/package/processing-context)\n[![npm downloads](https://img.shields.io/npm/dt/processing-context.svg)](https://www.npmjs.com/package/processing-context)\n[![dependencies](https://img.shields.io/david/litichevskiydv/processing-context.svg)](https://www.npmjs.com/package/processing-context)\n[![dev dependencies](https://img.shields.io/david/dev/litichevskiydv/processing-context.svg)](https://www.npmjs.com/package/processing-context)\n[![Build Status](https://travis-ci.org/litichevskiydv/processing-context.svg?branch=master)](https://travis-ci.org/litichevskiydv/processing-context)\n[![Coverage Status](https://coveralls.io/repos/github/litichevskiydv/processing-context/badge.svg?branch=master)](https://coveralls.io/github/litichevskiydv/processing-context?branch=master)\n\nGlobally accessible processing context based on async_hooks\n\n# Install\n\n`npm i processing-context`\n\n# Usage\n\n```javascript\nconst processingContext = require(\"processing-context\");\nconst defaultContext = processingContext.defaultContext;\n\n/*...*/\n\nconst key = \"counter\";\nconst initialValue = 3;\n\n/*...*/\n\nprocessingContext.create().set(key, initialValue);\nconst updatedValue = await new Promise(resolve =\u003e resolve(defaultContext.get(key) + 2));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitichevskiydv%2Fprocessing-context","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitichevskiydv%2Fprocessing-context","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitichevskiydv%2Fprocessing-context/lists"}