README
Slacklogger
TL;DR;
$ npm i ttsf-slacklogger
const slacklogger = require('../index')({
channel: 'XXXXXXXXXX',
bot: {
token: process.env.SLACK_BOT_TOKEN,
},
});
(async () => {
const sum = 1 + 1;
slacklogger.info('SUM', `1 + 1 is equal ${sum}`);
})();
Configuration
Development
Install seeds
circle-ci seed
seeder plant -f \
--set artifact=ttsf-slacklogger,test.cmd="npm run test:ci",release.enabled=true,deployment.enabled=true,deployment.type=npm circleci && \
chmod +x .circleci/skip-when-release
code-quality
seeder plant -f code-quality
License
TTSF SlackLogger is MIT licensed.