Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@politico/interactive-bin
Advanced tools
JS Utilities used in the creation and distribution of interactive news at POLITICO.
JS Utilities used in the creation and distribution of interactive news at POLITICO.
Installation:
$ npm install -g @politico/interactive-bin
One-Time Setup (if you work at POLITICO, check out the POLITICO Onboarding Guide):
$ pib setup
Then you can use its commands by running:
$ pib <command> <...arguments>
To start a new interactive, make an empty directory.
$ mkdir MY_INTERACTIVE_NAME
$ cd MY_INTERACTIVE_NAME
Then run the new project command:
$ pib new project
Once you have pib
installed you can access the CLI's many commands. Check out those docs for more on what they are and how to use them.
For the most part, the PIB CLI should only be used to create new projects. Once inside a PIB-made interactive you should switch to using the yarn
commands that come with those PIB projects. This will ensure that all the files and folder paths are processed correctly.
For example,
✅ yarn api new
✅ yarn new page
✅ yarn pub
❌ pib api new
❌ pib new page
❌ pib publish
PIB has some (many) opinions on how to structure your projects. These are somewhat enforced with your starting template, but you can check out the projects docs for more.
FAQs
JS Utilities used in the creation and distribution of interactive news at POLITICO.
The npm package @politico/interactive-bin receives a total of 3 weekly downloads. As such, @politico/interactive-bin popularity was classified as not popular.
We found that @politico/interactive-bin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.