
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@panter/transporter
Advanced tools
Sync translations between Airtable and JSON files.
The currently intended workflow is for doing manual updates via developers, so that the changes are inlcuded in version control. This workflow can be improved (like circumventing a developer's involvement) in future iterations.
Use npx transporter pull and npx transporter push. The intended workflows are:
Pull overrides local changes and creates _old file for reference. The changes are to be merged manually and pushed.
Push overrides Airtable changes. Remember to pull before pushing.
Name (it's default, could be change in config) and columns named in locale codes (DE, EN, etc.) for translations.data.records:read, data.records:write in Airtable Developer-hub and ensure that it is in env variable AIRTABLE_API_KEY. Add your base to the token at https://airtable.com/create/tokens.transporter.config.js in the root of your module and fill the config based on the example below.npx transporter pull or npx transporter pushNeeds to be filled. Example:
import { Config } from "@panter/transporter";
const config: Config = {
airtable: {
baseId: "<ID_HASH>",
tableId: "<ID_HASH>",
keyColumName: "Name",
delimiter: ".",
},
langs: ["DE", "EN"],
sections: [
{
transPath: "./public/locales",
translationName: "common",
airtable: {
tableId: "<ID_HASH>",
keyColumName: "Name",
delimiter: ".",
},
},
{
transPath: "./public/locales",
translationName: "admin",
airtable: {
tableId: "<ID_HASH>",
keyColumName: "Name",
delimiter: ".",
},
},
],
};
export default config;
keyColumName name for a column with keys for JSON objectdelimiter is used for flatting JSON objects to key + value pairs. . => (ra.action.save)langs array of locales which is in Airtablesections array LocaleSectionsLocaleSection: for more separated files for translations transPath: string;
translationName: string;
includedPrefixes?: string[];
excludePrefixes?: string[];
Example Airtable base for this config:

Airtable URL structure: https://airtable.com/<BASE_ID>/<TABLE_ID>/<VIEW_ID> E.g. https://airtable.com/appmyLk487SgURjgz/tblMtQPWNWCTO1lce/viw2ahFCeyvw6ufpd
After installing run:
npx transporter
You could use push and pull commands with parameters to overwrite config values.
-b, --base-id <table-id> [Optional] Base id.
-t, --table-id <table-id> [Optional] Table id.
--view-id <string> [Optional] View id.
npx transporter push -t XXXXXX
npx transporter pull -t XXXX -b XXXXX
Command pull overwrite your files, if exists create a backup with suffix _old. Also if there are some records without key or value, create log files with these records.
FAQs
Sync translations between Airtable and JSON files.
We found that @panter/transporter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.