![Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility](https://cdn.sanity.io/images/cgdhsj6q/production/97774ea8c88cc8f4bed2766c31994ebc38116948-1664x1366.png?w=400&fit=max&auto=format)
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@slack/hooks
Advanced tools
Node implementations of the contract between the Slack CLI and Bolt for JavaScript
The @slack/hooks
package contains scripts that implement the contract between
the Slack CLI and Bolt for JavaScript.
This package supports Node v18 and higher. It's highly recommended to use the latest LTS version of Node.
An updated version of the Slack CLI is also encouraged while using this package.
Add this package as a development dependency for your project with the following command:
$ npm install --save-dev @slack/hooks
Follow the installation guide to download the Slack CLI and easily run the scripts included in this package.
Scripts in this package are used by the Slack CLI when running certain commands.
These scripts are automatically added to the ./node_modules/.bin
directory of
a project when this package is installed.
Define the manifest of your application in a manifest.json
file:
{
"display_information": {
"name": "Hooks"
},
"settings": {
"org_deploy_enabled": true,
"socket_mode_enabled": true,
},
"features": {
"bot_user": {
"display_name": "Hooks"
}
},
"oauth_config": {
"scopes": {
"bot": ["chat:write"]
}
}
}
Or collect an existing manifest for your app from the App Manifest tab on App Config.
Configure a Bolt project to use these scripts by creating a slack.json
file in
the root directory of your project:
{
"hooks": {
"get-hooks": "npx -q --no-install -p @slack/hooks slack-cli-get-hooks"
}
}
With this package configured and the Slack CLI installed, you're ready to run your app:
$ slack run
If you get stuck, we're here to help. The following are the best ways to get assistance working through your issue:
developers@slack.com
FAQs
Node implementations of the contract between the Slack CLI and Bolt for JavaScript
The npm package @slack/hooks receives a total of 0 weekly downloads. As such, @slack/hooks popularity was classified as not popular.
We found that @slack/hooks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.