DICTANY
Create you fast and simple dictionary or a big and complex with a easy way.
All process creating have a avg of 1 mileseconds and call have a avg of 3 mileseconds!!!
npm install dictany
I will help if you have any difficulty =)
Contact me by github:heyderpd. I'll be glad to help you.
npm~lucasmreis
Thanks foranymath module!!
!!The key list accept any values ofSimple dictionary!
Can create a simple dictionary
Example:
DICT = DictResponse = // 'Sucess' // 'Server Error' // 'Unknown Error...'
Use any value of response you want!
The value of return the dictionary is our imagination! The default value is return if fail to find a need.
Example:
DictTest = // [ 0, 1, 2 ] // log: say my name!
Two level of dictionary!
Can use two level of dictionary, will math any level of rules to find the response.
DictQuestion = // 'volkswagen beetle!' // 'ice cream!'
indefinite nesting limit of dictionaries!
DictTalk = // 'yellow car?' // 'I am confused ...'