Skip to content

vkBeautify is a small, simple and powerfull javascript plugin to beautify XML, JSON, CSS and SQL text.

License

Notifications You must be signed in to change notification settings

Threegirls/vkBeautify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

/**
* vkBeautify - javascript plugin
*  
* Version - 0.9.beta 
* Copyright (c) 2012 Vadim Kiryukhin
* vkiryukhin @ gmail.com
* http://www.eslinstructor.net/vkbeautifyxml/
* 
* Dual licensed under the MIT and GPL licenses:
*   http://www.opensource.org/licenses/mit-license.php
*   http://www.gnu.org/licenses/gpl.html
*
*	vkbeautify(text, 'xml'|'json' [,collapseWS ]) 
*
* PARAMETERS:
*
*	@text  			- String, text to beautify;
*	@format 		- String, 'xml' or 'json'
* 	@preserveWS		- Bool (optional);
*					  flag, which instruct application don't 
*   				  remove extra white spaces within @text; 
*	
* USAGE:
*	
*	vkbeautify(text, 'xml'); 
*	vkbeautify(text, 'xml', true); 
*	vkbeautify(text, 'json'); 
*	vkbeautify(text, 'json', true); 
*
*/

About

vkBeautify is a small, simple and powerfull javascript plugin to beautify XML, JSON, CSS and SQL text.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.9%
  • HTML 5.5%
  • CSS 1.3%
  • PHP 0.3%