UNPKG
recink
Version:
beta (1.14.12)
latest (1.15.4)
1.15.4
1.15.3
1.15.2
1.15.1
1.15.0
1.14.12
1.14.11
1.14.10
1.14.9
1.14.8
1.14.7
1.14.6
1.14.5
1.14.4
1.14.3
1.14.2
1.14.1
1.14.0
1.13.12
1.13.11
1.13.10
1.13.9
1.13.8
1.13.7
1.13.6
1.13.5
1.13.4
1.13.3
1.13.2
1.13.1
1.13.0
1.12.7
1.12.6
1.12.5
1.12.4
1.12.3
1.12.2
1.12.1
1.12.0
1.11.18
1.11.17
1.11.16
1.11.15
1.11.14
1.11.13
1.11.12
1.11.11
1.11.10
1.11.9
1.11.8
1.11.7
1.11.6
1.11.5
1.11.4
1.11.3
1.11.2
1.11.1
1.11.0
1.10.3
1.10.2
1.10.1
1.10.0
1.9.1
1.9.0
1.0.0
Rethink CI for JavaScript applications
github.com/MitocGroup/recink
MitocGroup/recink
recink
/
src
/
component
/
preprocess
/
abstract-transformer.js
20 lines
(17 loc)
•
299 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'
;
/** * Transformer interface */
class
AbstractTransformer
{
/** *
@param
{
*
}
value
* *
@throws
{
Error
} */
transform
(
value
) {
throw
new
Error
(
`
${
this
.constructor.name }
.transform(value) not implemented!`
); } }
module
.
exports
=
AbstractTransformer
;