
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
@opencrvs/toolkit
Advanced tools
OpenCRVS toolkit for building country configurations.
src/
events/ # re-exports events module from commons package
scopes/ # re-exports scopes module from commons package
conditionals/ # provides tools for easily formulating complex conditionals and deduplication rules
api/ # provides an API wrapper for OpenCRVS APIs with strict typing and validation
# tsconfig.json references commons. when `tsc --build` is run, both are built.
> yarn build:all
# If you miss this part you might face issues with types.
> cd dist
> yarn link
When adding internal package as dependency, understand that:
Toolkit "re-exports" TRPC router to allow for easy client interaction.
Toolkit "re-exports" common definitions (e.g. events, conditionals) and make them available through npm.
package.jsonyarn build:allnpm publishpackage.jsonpackages/commons must be also defined in the package.json of the toolkit. Otherwise someone installing the package will get errors./events, /scopes directory, with types, from packages/commons through the library, others are excluded.esbuild. See build.sh on how to expose subdirectories:# Build common events
npx esbuild src/events/index.ts --bundle --format=cjs --outdir=./dist/events --allow-overwrite --packages=external
mkdir -p ./dist/commons/events
cp -r ../commons/build/dist/common/events/*.d.ts ./dist/commons/events
mkdir -p ./dist/commons/events/state # <-- create the subdirectory
cp -r ../commons/build/dist/common/events/state/*.d.ts ./dist/commons/events/state # <-- copy the types over
FAQs
OpenCRVS toolkit for building country configurations
The npm package @opencrvs/toolkit receives a total of 203,048 weekly downloads. As such, @opencrvs/toolkit popularity was classified as popular.
We found that @opencrvs/toolkit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.

Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.

Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.