1.0.0 • Published 3 years ago

resplant v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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 }