UNPKG
@shgysk8zer0/slack
Version:
latest (0.0.7)
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
An npm package for sending messages in Slack
github.com/shgysk8zer0/slack
shgysk8zer0/slack
@shgysk8zer0/slack
/
cjs
/
base.cjs
20 lines
(14 loc)
•
220 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
'use strict'
;
class
SlackBase
{ #
type
;
constructor
(
) {
this
.#
type
=
this
.
constructor
.
TYPE
; }
get
type
() {
return
this
.#
type
; }
toJSON
(
) {
return
{
type
:
this
.#
type
}; } }
exports
.
SlackBase
=
SlackBase
;