resplant
v1.0.0
Published
A dynamic module created to handle constants in a better way.
Downloads
1
Readme
Resplant (Response Planter)
A dynamic module created to handle constants in a better way.
Examples
- JavaScript:
const resplant = require('resplant')
const path = require('path')
const x = resplant.findAll(path.join(__dirname + '/constants'))
const y = resplant.findUnique(path.join(__dirname + '/constants/first.resplant'))
return { x, y }
- TypeScript:
import resplant from 'resplant'
import path from 'path'
const x: any = resplant.findAll(path.join(__dirname + '/constants'))
const y: any = resplant.findUnique(path.join(__dirname + '/constants/first.resplant'))
return { x, y }