
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
@gemeentenijmegen/config
Advanced tools
Helpers for doing application config. The package includes a construct which creates (by default) a DynamoDB table for storing configuration, which can be provided an initial configuration.
Helpers for doing application config. The package includes a construct which creates (by default) a DynamoDB table for storing configuration, which can be provided an initial configuration.
Additionally, a runtime Config typescript-class is provided, which can retrieve config from a backend (currently, only dynamodb is supported). The config class can retrieve configuration by key, an JSON-compatible value is supported. Any config values which are aws Secrets Manager secret ARNs, or SSM parameter ARNs, will be retrieved and return the value. For this, the calling code must have access to the parameter/secret. Nested arns work as well.
See demo/main.ts for a basic example. Using the construct:
const configTable = new ConfigTable(scope, 'config', {
config: {
myKey: 'myvalue2',
anArrayKey: ['an', 'array'],
secret: 'arn:aws:secretsmanager:us-west-2:123456789012:secret:my-path/my-secret-name-1a2b3c',
nested: {
objects: {
withParameter: 'arn:aws:ssm:region:account-id:parameter/parameter-name'
}
}
},
});
Using the runtime code:
const config = new Config();
await config.get('myKey'); // 'myvalue2'
await config.get('secret'); // secret value from provided arn
By default, the runtime Config()
call will use the dynamodb-backend, and look
for the table in process.env.APP_CONFIG_TABLENAME
. To use a different table,
inject a ConfigProvider:
new Config(new DynamoDbConfigProvider('myConfigTableName'));
FAQs
Helpers for doing application config. The package includes a construct which creates (by default) a DynamoDB table for storing configuration, which can be provided an initial configuration.
We found that @gemeentenijmegen/config demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.