Skip to content
forked from sfger/js-decode

JavaScript decode function, just like Oracle decode function

Notifications You must be signed in to change notification settings

vm370/js-decode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

js-decode

JavaScript decode function, Just like Oracle decode function!

Example:

var a = 'list';
console.log(
decode(
	a,
	'test', '这是测试',
	'list', function(a){
		return 'list:' + a;
	}, function(s){
		return decode(
			true,
			/^test/.test(s), 'tester',
			/^list/.test(s), 'lister',
			s
		);
	}
));

About

JavaScript decode function, just like Oracle decode function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%