
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
@apolitical/common-helpers
Advanced tools
Node.js module to expose Apolitical's common helper functions
Node.js module to expose Apolitical's common helper functions
Requires the following to run:
Clone repository:
git clone git@gitlab.com:apolitical/modules/common-helpers.git
Install dependencies:
yarn install
Run tests:
yarn test
This creates a symbolic link (symlink) that allows you to use your changes locally in other repos, rather than having to publish to npm to test
yarn global add yalc
- this is a global install on your computeryalc publish
yalc link @apolitical/common-helpers
yalc push
in common-helpers repo and these changes should reflect in the linked repo. If changes do not show up, try yalc publish --push
.yalc/
and yalc.lock
to your .gitignore
file if it is not already there. This is just for local development, we don't want to commit yalc files.If you are not seeing your changes come through in the repo you want to link, try running yalc add @apolitical/common-helpers
. Note, this will change the package.json
file to point at the yalc version of this package and you'll have to undo this before committing.
** Note **
When you're done, you can run a regular yarn install @apolitical/common-helpers
in the linked repo to overwrite the yalc version, or run yalc remove @apolitical/common-helpers
in the linked repo.
Double check that the package in your linked repo's package.json
is pointing to @apolitical/common-helpers
. yalc link
should not touch the package.json
, but it's wise to double check.
FAQs
Node.js module to expose Apolitical's common helper functions
We found that @apolitical/common-helpers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.