{"id":18443310,"url":"https://github.com/switz/frenchpress.sugar","last_synced_at":"2025-04-07T23:31:47.591Z","repository":{"id":143637620,"uuid":"2626396","full_name":"switz/FrenchPress.sugar","owner":"switz","description":"Javascript action for Espresso that beautifies js code","archived":false,"fork":false,"pushed_at":"2013-01-31T07:07:50.000Z","size":139,"stargazers_count":18,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T02:04:14.771Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/switz.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-10-22T14:47:12.000Z","updated_at":"2021-10-07T17:16:52.000Z","dependencies_parsed_at":"2023-03-20T15:10:25.818Z","dependency_job_id":null,"html_url":"https://github.com/switz/FrenchPress.sugar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switz%2FFrenchPress.sugar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switz%2FFrenchPress.sugar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switz%2FFrenchPress.sugar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switz%2FFrenchPress.sugar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/switz","download_url":"https://codeload.github.com/switz/FrenchPress.sugar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247749865,"owners_count":20989708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T06:46:59.720Z","updated_at":"2025-04-07T23:31:47.342Z","avatar_url":"https://github.com/switz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FrenchPress.sugar\n\nA javascript action that beautifies javascript files into formatted code:\n\n**Note: This project is no longer under development. It might work for you, but I can't guarantee anything. Good luck!**\n\n* Uses the library from jsbeautifier.org\n\n* To run use Actions-\u003eJavascript menu or press `Control + Alt + Arrow Up`\n\n* This will not fix syntactically incorrect documents\n\n* This is beta software, please backup your code in advance. You may _undo_ the action by pressing `command+z` (or Edit-\u003eUndo)\n\n## Installation\n\n**Requires Espresso 2.0**\n\nThe easiest way to install FrenchPress.sugar currently is directly from GitHub:\n\n    cd ~/Library/Application\\ Support/Espresso/Sugars\n    git clone git://github.com/switz213/FrenchPress.sugar\n\nhttps://github.com/switz213/FrenchPress.sugar\n\nRelaunch Espresso, and a new Javascript submenu will be available in your Actions menu.\n\n## Development\n\nFrenchPress.sugar is written entirely in XML and JavaScript using Espresso's [JavaScript API](http://wiki.macrabbit.com/index/JavaScriptActions/)! Feel free to mess around with the code or fork it on github!\n\nYou may email me if you have any feedback, requests, or run across any problems.\n\nhi@danielsaewitz.com\n\n## Changelog\n\n**1.0**:\n\n* Initial release\n* Beautify Javascript using menu or key-combo (`Control + Alt + Arrow Up`)\n* Will automatically match your Espresso tab settings (# of spaces, spaces or tabs)\n\n## Thanks to:\n\n* Ian Beck\n---------------\n\nThis could not have been completed without the [Handy.sugar](http://github.com/onecrayon/Handy.sugar.git) source code\n\n* JS Beautifier\n---------------\n\nWritten by [Einar Lielmanis](mailto:einar@jsbeautifier.org)\n\thttp://jsbeautifier.org/\n\nOriginally converted to javascript by [Vital](mailto:vital76@gmail.com)\n\"End braces on own line\" added by [Chris J. Shull](mailto:chrisjshull@gmail.com)\n\n## MIT License\n\nCopyright (c) 2011 Daniel Saewitz\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswitz%2Ffrenchpress.sugar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswitz%2Ffrenchpress.sugar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswitz%2Ffrenchpress.sugar/lists"}