mirror of
https://github.com/beautifier/js-beautify.git
synced 2024-11-26 22:20:56 +00:00
Move all references to beautifier.io
This commit is contained in:
parent
930c050a56
commit
2d48af82f3
@ -34,7 +34,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe
|
|||||||
|
|
||||||
## Enforcement
|
## Enforcement
|
||||||
|
|
||||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at team@jsbeautifier.org. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at team@beautifier.io. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
||||||
|
|
||||||
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ Files related to the JavaScript implementations of the beautifiers.
|
|||||||
Files related to the Python implementations of the beautifiers.
|
Files related to the Python implementations of the beautifiers.
|
||||||
|
|
||||||
## `web`
|
## `web`
|
||||||
Files related to http://jsbeautifier.org/.
|
Files related to https://beautifier.io/.
|
||||||
|
|
||||||
## `test`
|
## `test`
|
||||||
Test data files and support files used to generate implementation-specific test files.
|
Test data files and support files used to generate implementation-specific test files.
|
||||||
|
@ -18,7 +18,7 @@ JavaScript, unpack scripts packed by Dean Edward’s popular packer,
|
|||||||
as well as partly deobfuscate scripts processed by the npm package
|
as well as partly deobfuscate scripts processed by the npm package
|
||||||
[javascript-obfuscator](https://github.com/javascript-obfuscator/javascript-obfuscator).
|
[javascript-obfuscator](https://github.com/javascript-obfuscator/javascript-obfuscator).
|
||||||
|
|
||||||
Open [jsbeautifier.org](http://jsbeautifier.org/) to try it out. Options are available via the UI.
|
Open [beautifier.io](https://beautifier.io/) to try it out. Options are available via the UI.
|
||||||
|
|
||||||
# Contributors Needed
|
# Contributors Needed
|
||||||
I'm putting this front and center above because existing owners have very limited time to work on this project currently.
|
I'm putting this front and center above because existing owners have very limited time to work on this project currently.
|
||||||
@ -92,7 +92,7 @@ $ pip install jsbeautifier
|
|||||||
You can beautify javascript using JS Beautifier in your web browser, or on the command-line using node.js or python.
|
You can beautify javascript using JS Beautifier in your web browser, or on the command-line using node.js or python.
|
||||||
|
|
||||||
## Web Browser
|
## Web Browser
|
||||||
Open [jsbeautifier.org](http://jsbeautifier.org/). Options are available via the UI.
|
Open [beautifier.io](https://beautifier.io/). Options are available via the UI.
|
||||||
|
|
||||||
## Web Libary
|
## Web Libary
|
||||||
The script tags above expose three functions: `js_beautify`, `css_beautify`, and `html_beautify`.
|
The script tags above expose three functions: `js_beautify`, `css_beautify`, and `html_beautify`.
|
||||||
@ -365,10 +365,10 @@ You are free to use this in any way you want, in case you find this useful or wo
|
|||||||
|
|
||||||
# Credits
|
# Credits
|
||||||
|
|
||||||
* Created by Einar Lielmanis, <einar@jsbeautifier.org>
|
* Created by Einar Lielmanis, <einar@beautifier.io>
|
||||||
* Python version flourished by Stefano Sanfilippo <a.little.coder@gmail.com>
|
* Python version flourished by Stefano Sanfilippo <a.little.coder@gmail.com>
|
||||||
* Command-line for node.js by Daniel Stockman <daniel.stockman@gmail.com>
|
* Command-line for node.js by Daniel Stockman <daniel.stockman@gmail.com>
|
||||||
* Maintained and expanded by Liam Newman <bitwiseman@gmail.com>
|
* Maintained and expanded by Liam Newman <bitwiseman@beautifier.io>
|
||||||
|
|
||||||
Thanks also to Jason Diamond, Patrick Hof, Nochum Sossonko, Andreas Schneider, Dave
|
Thanks also to Jason Diamond, Patrick Hof, Nochum Sossonko, Andreas Schneider, Dave
|
||||||
Vasilevsky, Vital Batmanov, Ron Baldwin, Gabriel Harrison, Chris J. Shull,
|
Vasilevsky, Vital Batmanov, Ron Baldwin, Gabriel Harrison, Chris J. Shull,
|
||||||
|
@ -190,7 +190,7 @@
|
|||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<ul class="uses">
|
<ul class="uses">
|
||||||
|
|
||||||
<li>A <a href="javascript:(function(){s=document.getElementsByTagName('SCRIPT');tx='';sr=[];for(i=0;i<s.length;i++){with(s.item(i)){t=text;if(t){tx+=t;}else{sr.push(src)};}};with(window.open()){document.write('<textarea id="t">'+(sr.join("\n"))+"\n\n-----\n\n"+tx+'</textarea><script src="http://jsbeautifier.org/beautify.js"></script><script>with(document.getElementById("t")){value=js_beautify(value);with(style){width="99%";height="99%";borderStyle="none";}};</script>');document.close();}})();"><strong>bookmarklet</strong></a> (drag
|
<li>A <a href="javascript:(function(){s=document.getElementsByTagName('SCRIPT');tx='';sr=[];for(i=0;i<s.length;i++){with(s.item(i)){t=text;if(t){tx+=t;}else{sr.push(src)};}};with(window.open()){document.write('<textarea id="t">'+(sr.join("\n"))+"\n\n-----\n\n"+tx+'</textarea><script src="https://beautifier.io/beautify.js"></script><script>with(document.getElementById("t")){value=js_beautify(value);with(style){width="99%";height="99%";borderStyle="none";}};</script>');document.close();}})();"><strong>bookmarklet</strong></a> (drag
|
||||||
it to your bookmarks) by Ichiro Hiroshi to see all scripts used on the page,</li>
|
it to your bookmarks) by Ichiro Hiroshi to see all scripts used on the page,</li>
|
||||||
|
|
||||||
<li><strong>Chrome</strong>, in case the built-in CSS and javascript formatting isn't enough for you:<br>
|
<li><strong>Chrome</strong>, in case the built-in CSS and javascript formatting isn't enough for you:<br>
|
||||||
@ -246,7 +246,7 @@
|
|||||||
<li><a href="http://liveditor.com/">LIVEditor</a>, a live-editing HTML/CSS/JS IDE (commercial, Windows-only) uses the library,</li>
|
<li><a href="http://liveditor.com/">LIVEditor</a>, a live-editing HTML/CSS/JS IDE (commercial, Windows-only) uses the library,</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<p>Doing anything interesting? Write us to <b>team@jsbeautifier.org</b> so we can add your project to the list.</p>
|
<p>Doing anything interesting? Write us to <b>team@beautifier.io</b> so we can add your project to the list.</p>
|
||||||
|
|
||||||
<p class="contributor-sep">Written by <a href="https://github.com/einars">Einar Lielmanis</a>, maintained and evolved by <a href="https://github.com/bitwiseman/">Liam Newman</a>.</p>
|
<p class="contributor-sep">Written by <a href="https://github.com/einars">Einar Lielmanis</a>, maintained and evolved by <a href="https://github.com/bitwiseman/">Liam Newman</a>.</p>
|
||||||
<p>We use the wonderful <a href="http://codemirror.net">CodeMirror</a> syntax highlighting editor, written by Marijn Haverbeke.
|
<p>We use the wonderful <a href="http://codemirror.net">CodeMirror</a> syntax highlighting editor, written by Marijn Haverbeke.
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
//
|
//
|
||||||
// simple unpacker/deobfuscator for scripts messed up with javascriptobfuscator.com
|
// simple unpacker/deobfuscator for scripts messed up with javascriptobfuscator.com
|
||||||
// written by Einar Lielmanis <einar@jsbeautifier.org>
|
// written by Einar Lielmanis <einar@beautifier.io>
|
||||||
//
|
//
|
||||||
// usage:
|
// usage:
|
||||||
//
|
//
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
//
|
//
|
||||||
// written by Einar Lielmanis <einar@jsbeautifier.org>
|
// written by Einar Lielmanis <einar@beautifier.io>
|
||||||
//
|
//
|
||||||
// usage:
|
// usage:
|
||||||
//
|
//
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
//
|
//
|
||||||
// trivial bookmarklet/escaped script detector for the javascript beautifier
|
// trivial bookmarklet/escaped script detector for the javascript beautifier
|
||||||
// written by Einar Lielmanis <einar@jsbeautifier.org>
|
// written by Einar Lielmanis <einar@beautifier.io>
|
||||||
//
|
//
|
||||||
// usage:
|
// usage:
|
||||||
//
|
//
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
//
|
//
|
||||||
// simple testing interface
|
// simple testing interface
|
||||||
// written by Einar Lielmanis, einar@jsbeautifier.org
|
// written by Einar Lielmanis, einar@beautifier.io
|
||||||
//
|
//
|
||||||
// usage:
|
// usage:
|
||||||
//
|
//
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "js-beautify",
|
"name": "js-beautify",
|
||||||
"version": "1.8.4",
|
"version": "1.8.4",
|
||||||
"description": "jsbeautifier.org for node",
|
"description": "beautifier.io for node",
|
||||||
"main": "js/index.js",
|
"main": "js/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"css-beautify": "./js/bin/css-beautify.js",
|
"css-beautify": "./js/bin/css-beautify.js",
|
||||||
@ -21,7 +21,7 @@
|
|||||||
],
|
],
|
||||||
"scripts": {},
|
"scripts": {},
|
||||||
"bugs": "https://github.com/beautify-web/js-beautify/issues",
|
"bugs": "https://github.com/beautify-web/js-beautify/issues",
|
||||||
"homepage": "http://jsbeautifier.org/",
|
"homepage": "https://beautifier.io/",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git://github.com/beautify-web/js-beautify.git"
|
"url": "git://github.com/beautify-web/js-beautify.git"
|
||||||
@ -31,7 +31,7 @@
|
|||||||
"beautifier",
|
"beautifier",
|
||||||
"code-quality"
|
"code-quality"
|
||||||
],
|
],
|
||||||
"author": "Einar Lielmanis <einar@jsbeautifier.org>",
|
"author": "Einar Lielmanis <einar@beautifier.io>",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
"Vital Batmanov <vital76@gmail.com>",
|
"Vital Batmanov <vital76@gmail.com>",
|
||||||
"Chris J. Shull <chrisjshull@gmail.com>",
|
"Chris J. Shull <chrisjshull@gmail.com>",
|
||||||
@ -41,7 +41,7 @@
|
|||||||
"Daniel Stockman <daniel.stockman@gmail.com>",
|
"Daniel Stockman <daniel.stockman@gmail.com>",
|
||||||
"Harutyun Amirjanyan <amirjanyan@gmail.com>",
|
"Harutyun Amirjanyan <amirjanyan@gmail.com>",
|
||||||
"Nochum Sossonko <nsossonko@hotmail.com>",
|
"Nochum Sossonko <nsossonko@hotmail.com>",
|
||||||
"Liam Newman <bitwiseman@gmail.com>"
|
"Liam Newman <bitwiseman@beautifier.io>"
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -68,7 +68,7 @@ def usage(stream=sys.stdout):
|
|||||||
|
|
||||||
print("cssbeautifier.py@" + __version__ + """
|
print("cssbeautifier.py@" + __version__ + """
|
||||||
|
|
||||||
CSS beautifier (http://jsbeautifier.org/)
|
CSS beautifier (https://beautifier.io/)
|
||||||
|
|
||||||
Usage: cssbeautifier.py [options] <infile>
|
Usage: cssbeautifier.py [options] <infile>
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ def usage(stream=sys.stdout):
|
|||||||
|
|
||||||
print("cssbeautifier.py@" + __version__ + """
|
print("cssbeautifier.py@" + __version__ + """
|
||||||
|
|
||||||
CSS beautifier (http://jsbeautifier.org/)
|
CSS beautifier (https://beautifier.io/)
|
||||||
|
|
||||||
""", file=stream)
|
""", file=stream)
|
||||||
if stream == sys.stderr:
|
if stream == sys.stderr:
|
||||||
|
@ -37,9 +37,9 @@ from jsbeautifier.javascript.beautifier import Beautifier
|
|||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
#
|
#
|
||||||
# Originally written by Einar Lielmanis et al.,
|
# Originally written by Einar Lielmanis et al.,
|
||||||
# Conversion to python by Einar Lielmanis, einar@jsbeautifier.org,
|
# Conversion to python by Einar Lielmanis, einar@beautifier.io,
|
||||||
# Parsing improvement for brace-less and semicolon-less statements
|
# Parsing improvement for brace-less and semicolon-less statements
|
||||||
# by Liam Newman <bitwiseman@gmail.com>
|
# by Liam Newman <bitwiseman@beautifier.io>
|
||||||
# Python is not my native language, feel free to push things around.
|
# Python is not my native language, feel free to push things around.
|
||||||
#
|
#
|
||||||
# Use either from command line (script displays its usage when run
|
# Use either from command line (script displays its usage when run
|
||||||
@ -130,7 +130,7 @@ def usage(stream=sys.stdout):
|
|||||||
|
|
||||||
print("jsbeautifier.py@" + __version__ + """
|
print("jsbeautifier.py@" + __version__ + """
|
||||||
|
|
||||||
Javascript beautifier (http://jsbeautifier.org/)
|
Javascript beautifier (https://beautifier.io/)
|
||||||
|
|
||||||
Usage: jsbeautifier.py [options] <infile>
|
Usage: jsbeautifier.py [options] <infile>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Unpacker for eval() based packers, a part of javascript beautifier
|
# Unpacker for eval() based packers, a part of javascript beautifier
|
||||||
# by Einar Lielmanis <einar@jsbeautifier.org>
|
# by Einar Lielmanis <einar@beautifier.io>
|
||||||
#
|
#
|
||||||
# written by Stefano Sanfilippo <a.little.coder@gmail.com>
|
# written by Stefano Sanfilippo <a.little.coder@gmail.com>
|
||||||
#
|
#
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# simple unpacker/deobfuscator for scripts messed up with
|
# simple unpacker/deobfuscator for scripts messed up with
|
||||||
# javascriptobfuscator.com
|
# javascriptobfuscator.com
|
||||||
#
|
#
|
||||||
# written by Einar Lielmanis <einar@jsbeautifier.org>
|
# written by Einar Lielmanis <einar@beautifier.io>
|
||||||
# rewritten in Python by Stefano Sanfilippo <a.little.coder@gmail.com>
|
# rewritten in Python by Stefano Sanfilippo <a.little.coder@gmail.com>
|
||||||
#
|
#
|
||||||
# Will always return valid javascript: if `detect()` is false, `code` is
|
# Will always return valid javascript: if `detect()` is false, `code` is
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# deobfuscator for scripts messed up with myobfuscate.com
|
# deobfuscator for scripts messed up with myobfuscate.com
|
||||||
# by Einar Lielmanis <einar@jsbeautifier.org>
|
# by Einar Lielmanis <einar@beautifier.io>
|
||||||
#
|
#
|
||||||
# written by Stefano Sanfilippo <a.little.coder@gmail.com>
|
# written by Stefano Sanfilippo <a.little.coder@gmail.com>
|
||||||
#
|
#
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Unpacker for Dean Edward's p.a.c.k.e.r, a part of javascript beautifier
|
# Unpacker for Dean Edward's p.a.c.k.e.r, a part of javascript beautifier
|
||||||
# by Einar Lielmanis <einar@jsbeautifier.org>
|
# by Einar Lielmanis <einar@beautifier.io>
|
||||||
#
|
#
|
||||||
# written by Stefano Sanfilippo <a.little.coder@gmail.com>
|
# written by Stefano Sanfilippo <a.little.coder@gmail.com>
|
||||||
#
|
#
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Trivial bookmarklet/escaped script detector for the javascript beautifier
|
# Trivial bookmarklet/escaped script detector for the javascript beautifier
|
||||||
# written by Einar Lielmanis <einar@jsbeautifier.org>
|
# written by Einar Lielmanis <einar@beautifier.io>
|
||||||
# rewritten in Python by Stefano Sanfilippo <a.little.coder@gmail.com>
|
# rewritten in Python by Stefano Sanfilippo <a.little.coder@gmail.com>
|
||||||
#
|
#
|
||||||
# Will always return valid javascript: if `detect()` is false, `code` is
|
# Will always return valid javascript: if `detect()` is false, `code` is
|
||||||
|
@ -32,8 +32,8 @@ setup(name='jsbeautifier',
|
|||||||
long_description=('Beautify, unpack or deobfuscate JavaScript. '
|
long_description=('Beautify, unpack or deobfuscate JavaScript. '
|
||||||
'Handles popular online obfuscators.'),
|
'Handles popular online obfuscators.'),
|
||||||
author='Liam Newman, Einar Lielmanis, et al.',
|
author='Liam Newman, Einar Lielmanis, et al.',
|
||||||
author_email='team@jsbeautifier.org',
|
author_email='team@beautifier.io',
|
||||||
url='http://jsbeautifier.org',
|
url='https://beautifier.io',
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
'js-beautify = jsbeautifier:main'
|
'js-beautify = jsbeautifier:main'
|
||||||
|
@ -31,8 +31,8 @@
|
|||||||
|
|
||||||
Written by Harutyun Amirjanyan, (amirjanyan@gmail.com)
|
Written by Harutyun Amirjanyan, (amirjanyan@gmail.com)
|
||||||
|
|
||||||
Based on code initially developed by: Einar Lielmanis, <einar@jsbeautifier.org>
|
Based on code initially developed by: Einar Lielmanis, <einar@beautifier.io>
|
||||||
http://jsbeautifier.org/
|
https://beautifier.io/
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
css_beautify(source_text);
|
css_beautify(source_text);
|
||||||
|
@ -31,8 +31,8 @@
|
|||||||
|
|
||||||
Written by Nochum Sossonko, (nsossonko@hotmail.com)
|
Written by Nochum Sossonko, (nsossonko@hotmail.com)
|
||||||
|
|
||||||
Based on code initially developed by: Einar Lielmanis, <einar@jsbeautifier.org>
|
Based on code initially developed by: Einar Lielmanis, <einar@beautifier.io>
|
||||||
http://jsbeautifier.org/
|
https://beautifier.io/
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
style_html(html_source);
|
style_html(html_source);
|
||||||
|
@ -29,12 +29,12 @@
|
|||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|
||||||
Written by Einar Lielmanis, <einar@jsbeautifier.org>
|
Written by Einar Lielmanis, <einar@beautifier.io>
|
||||||
http://jsbeautifier.org/
|
https://beautifier.io/
|
||||||
|
|
||||||
Originally converted to javascript by Vital, <vital76@gmail.com>
|
Originally converted to javascript by Vital, <vital76@gmail.com>
|
||||||
"End braces on own line" added by Chris J. Shull, <chrisjshull@gmail.com>
|
"End braces on own line" added by Chris J. Shull, <chrisjshull@gmail.com>
|
||||||
Parsing improvements for brace-less statements by Liam Newman <bitwiseman@gmail.com>
|
Parsing improvements for brace-less statements by Liam Newman <bitwiseman@beautifier.io>
|
||||||
|
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
Loading…
Reference in New Issue
Block a user