
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
slack-client
Advanced tools
Hi all,
First of all, thanks for using this library :) We really appreciate all the developers out there who want to integrate with Slack and build cool bots and tools.
I've been working on a substantial refactor of the existing node-client library for the past little while and it's now at the point where getting your feedback would be fantastic.
That refactor is located on my personal github.
The refactor has 3 main goals:
There are still some issues outstanding on the refactor, which can be seen here
What would be great to get some help on is:
This is a Slack client library for Node.js. It's intended to expose all of the functionality of Slack's Real Time Messaging API while providing some common abstractions and generally making your life easier, if you want it to.
This code has been built to support our hubot-slack adapter. Most other functionality isn't yet supported, and documentation is minimal, at best.
npm install slack-client --save
Slack = require 'slack-client'
slackToken = 'xoxb-YOUR-TOKEN-HERE' # Add a bot at https://my.slack.com/services/new/bot and copy the token here.
autoReconnect = true # Automatically reconnect after an error response from Slack.
autoMark = true # Automatically mark each message as read after it is processed.
slack = new Slack(slackToken, autoReconnect, autoMark)
slack.on 'open', ->
console.log "Connected to #{slack.team.name} as @#{slack.self.name}"
slack.on 'message', (message) ->
console.log message
slack.on 'error', (err) ->
console.error "Error", err
slack.login()
A full example of how to use this module from Node.js can be found in the /examples directory.
Here's the most direct way to get your work merged into the project.
Copyright © Slack Technologies, Inc. MIT License; see LICENSE for further details.
FAQs
A library for creating a Slack client
The npm package slack-client receives a total of 62 weekly downloads. As such, slack-client popularity was classified as not popular.
We found that slack-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.