{"id":16832700,"url":"https://github.com/zswang/jfogs","last_synced_at":"2025-03-17T04:32:29.931Z","repository":{"id":36506077,"uuid":"40811762","full_name":"zswang/jfogs","owner":"zswang","description":"JavaScript Obfuscator","archived":false,"fork":false,"pushed_at":"2019-01-04T07:57:15.000Z","size":1322,"stargazers_count":88,"open_issues_count":2,"forks_count":16,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-27T18:02:46.062Z","etag":null,"topics":["javascript","obfuscator"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zswang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-16T10:58:30.000Z","updated_at":"2025-02-26T22:04:54.000Z","dependencies_parsed_at":"2022-09-02T21:42:49.902Z","dependency_job_id":null,"html_url":"https://github.com/zswang/jfogs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fjfogs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fjfogs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fjfogs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fjfogs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zswang","download_url":"https://codeload.github.com/zswang/jfogs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243841985,"owners_count":20356583,"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":["javascript","obfuscator"],"created_at":"2024-10-13T11:50:07.131Z","updated_at":"2025-03-17T04:32:29.386Z","avatar_url":"https://github.com/zswang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]\n\n# jfogs\n\nJavascript code obfuscator\n\n一个 JS 代码混淆器\n\ne.g.\n\n+ input:\n\n```js\nconsole.log(/\\w/img.test('hello'));\n```\n\n+ output:\n\n```js\n(function ($fog$0, $fog$1, $fog$2, $fog$3) {\n  console[$fog$0]($fog$2[$fog$1]($fog$3));\n})(\"log\", \"test\", /\\w/img, \"hello\");\n```\n\n## Install\n\n```sh\n$ npm install --save jfogs\n```\n\n## Usage\n\n```js\nvar jfogs = require('jfogs');\n\nconsole.log(jfogs.obfuscate('function hello() { console.log('Hello world!'); }'));\n```\n\n```sh\n$ npm install --global jfogs\n$ jfogs --help\n```\n\n## Command Line\n\n```bash\nUsage:\n\n    jfogs \u003cinput list\u003e [options]\n\nOptions:\n\n    -o, --output              Output file (default STDOUT)\n    -t, --type                Encryption type (default \"\") e.g. \"zero\" | \"reverse\"\n    -v, --version             Output jfogs version\n```\n\n## License\n\nMIT © [zswang](http://weibo.com/zswang)\n\n[npm-url]: https://npmjs.org/package/jfogs\n[npm-image]: https://badge.fury.io/js/jfogs.svg\n[travis-url]: https://travis-ci.org/zswang/jfogs\n[travis-image]: https://travis-ci.org/zswang/jfogs.svg?branch=master\n[coverage-url]: https://coveralls.io/github/zswang/jfogs?branch=master\n[coverage-image]: https://coveralls.io/repos/zswang/jfogs/badge.svg?branch=master\u0026service=github\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Fjfogs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzswang%2Fjfogs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Fjfogs/lists"}