Package Details: js-beautify 1.14.4-1

Git Clone URL: (read-only, click to copy)
Package Base: js-beautify
Description: CSS, HTML & JavaScript unobfuscator and beautifier
Upstream URL:
Licenses: MIT
Conflicts: python-cssbeautifier, python-jsbeautifier
Submitter: tokland
Maintainer: tokland
Last Packager: tokland
Votes: 36
Popularity: 0.000036
First Submitted: 2010-12-04 22:02 (UTC)
Last Updated: 2022-07-21 12:40 (UTC)

Latest Comments

tokland commented on 2022-07-21 12:44 (UTC) (edited on 2022-07-21 12:48 (UTC) by tokland)

  • Updated to 1.14.4
  • Used PKGBUILD proposed by @yochananmarqos (thx!)

yochananmarqos commented on 2022-05-17 18:38 (UTC)


tokland commented on 2019-08-29 07:15 (UTC)

Updated to 1.10.2, sorry for the delay!

tokland commented on 2018-08-07 21:36 (UTC)

@yan12125 Done!

yan12125 commented on 2018-08-03 03:58 (UTC)

Hi tokland, could you move npm from depends to makedepends?

whynothugo commented on 2017-10-01 19:40 (UTC)

Isn't this the same as python-jsbeautifier?

tokland commented on 2017-01-11 12:00 (UTC)

Updated and added the python package to conflicts. Thx!

yan12125 commented on 2017-01-11 08:53 (UTC)

Hi, could you add python-jsbeautifier to conflicts? Both have /usr/bin/js-beautify.

yan12125 commented on 2016-08-18 10:36 (UTC)

Could you update to 1.6.3?

tokland commented on 2015-09-18 09:03 (UTC)

@simon04: I forgot to commit the changes, done.

simon04 commented on 2015-09-18 08:56 (UTC)

You seem to have forgotten to run `mksrcinfo` before committing/pushing. The dependencies as well as the version are still out of date …

tokland commented on 2015-09-15 17:18 (UTC)

@simon04: updated using npm2arch, thx!

simon04 commented on 2015-09-15 13:13 (UTC)

This is as simple as installing and running `npm2PKGBUILD js-beautify` afterwards.

tokland commented on 2015-09-15 11:40 (UTC)

No reason other than I didn't know about it. If you can provide the PKGBUILD, I'll be grateful!

simon04 commented on 2015-09-14 12:10 (UTC)

* Version 1.5.10 is out. * Please mention in the description (allows to find this package when searching by the URL of the online converter) * Is there a reason why you don't use

tokland commented on 2015-01-31 20:47 (UTC)

@prurigro: It seems the old github repository points to the new, so let's just replace the PKGBUILD with the one you provided.

prurigro commented on 2015-01-31 07:22 (UTC)

@tokland: Hmm true, it looks like there are python and node versions both available in the same package. I'm not sure if they're both equivalent, but I do notice the python one lacks the html and css shortcuts. Would there be any sense to package both together on that note?

tokland commented on 2015-01-29 19:11 (UTC)

It looks like it's a complete rewrite, with different dependencies, options, etc. Question: does it make sense to create a separate AUR package?

prurigro commented on 2015-01-29 16:48 (UTC)

Hey, I've written an updated js-beautify package for the current version that you can feel free to use compliments of the ArchAssault project- Cheers!

tokland commented on 2013-06-28 16:00 (UTC)

Thanks, I had no idea "source" understood git links. Updated to your PKGBUILD only changing the commit (to the last one).

alzeih commented on 2013-06-28 08:33 (UTC)


tokland commented on 2013-06-26 20:23 (UTC)

hi @alzeih, thanks for the tip. Could you modify the PKGBUILD to take a fixed commit? as you say to take the last one would be better for a -git package.

alzeih commented on 2013-06-26 13:34 (UTC)

New PKGBUILD if helpful: Technically probably for a package called js-beautify-git though, I haven't tied it to a release.

tokland commented on 2012-06-09 12:47 (UTC)

Updated to the last commit in master.

jpike commented on 2012-06-09 09:24 (UTC)

The git commit referenced in the PKGBUILD no longer exists. I had to change it to "master", then it worked fine. Bit bleeding edge I guess.

commented on 2011-11-13 07:45 (UTC)

tokland: Just ran an update and it installed cleanly. Thanks :).

tokland commented on 2011-11-12 16:58 (UTC)

Andrew: that's weird, the commit ID I was using it's not there anymore so it just used branch master as default, where things have changed. I have uploaded a new PKGBUILD, can you test?

commented on 2011-11-12 16:38 (UTC)

I couldn't install it, had to change the "install" line to this: python -q install --root="${pkgdir}" install -m 755 ${srcdir}/${pkgname}/python/js-beautify $BINDIR/js-beautify || return 1 Both lines were taken from other PKGBUILDs, though, so I can't really be sure if everything's alright with them.

tokland commented on 2011-05-24 21:43 (UTC)

uses new python script, the binary path is the same: /usr/bin/js-beautify

tokland commented on 2011-05-24 21:33 (UTC)

btw, I just realized the python script that the first user mentioned is in fact the official one: March 27, 2011 "Here lay the scripts that were useful at a time, now they are kind of obsoleted by the python script, but you may still find them useful." So I guess I'll just this one and get rid of rhino.

tokland commented on 2011-05-24 21:21 (UTC)

1) rhino: indeed, I was unaware of that, I made a /usr/local/bin/rhino long ago and I forgot. depends=('rhino-with-interpreter') 2) The paths have changed, but I'd prefer still to copy beautify-cl.js. Try mkdir -p $SHAREDIR $BINDIR || return 1 install -m 644 ${srcdir}/${pkgname}/*.js $SHAREDIR || return 1 install -m 644 ${srcdir}/${pkgname}/attic/beautify-cl/beautify-cl.js $SHAREDIR || return 1 install -m 755 ${srcdir}/ $BINDIR/js-beautify || return 1 } this works for me

louac commented on 2011-05-24 19:58 (UTC)

I was able to run it after: 1) modified /usr/bin/js-bautify as exec rhino $SHARE/beautify.js -d "$SHARE" "$@" __and not__ exec rhino $SHARE/beautify_cl.js -d "$SHARE" "$@" 2) chmod ou+x -R /usr/share/js-beautify/ install rhino_with_interpreter from aur (rhino does not provide rhino executable) or I missed something ?

lolilolicon commented on 2011-05-04 13:04 (UTC)

FYI, the python3 version depends on python3 only: