{"id":20617616,"url":"https://github.com/rodrigobdz/hide-file-extension-mac","last_synced_at":"2026-05-07T02:33:35.741Z","repository":{"id":57264001,"uuid":"170389421","full_name":"rodrigobdz/hide-file-extension-mac","owner":"rodrigobdz","description":"📄 Toggle file extension visibility from CLI for macOS 🍎","archived":false,"fork":false,"pushed_at":"2019-04-23T09:37:24.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T19:44:08.007Z","etag":null,"topics":["apple-script","cli-utilities","file-extensions","generator-lnm","hidden","macos","npm-module","npm-package","yarn"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/hide-file-extension-mac","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/rodrigobdz.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":"contributing.md","funding":null,"license":"license","code_of_conduct":"code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-12T20:51:34.000Z","updated_at":"2019-05-08T03:41:51.000Z","dependencies_parsed_at":"2022-08-25T02:51:49.122Z","dependency_job_id":null,"html_url":"https://github.com/rodrigobdz/hide-file-extension-mac","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rodrigobdz/hide-file-extension-mac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigobdz%2Fhide-file-extension-mac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigobdz%2Fhide-file-extension-mac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigobdz%2Fhide-file-extension-mac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigobdz%2Fhide-file-extension-mac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodrigobdz","download_url":"https://codeload.github.com/rodrigobdz/hide-file-extension-mac/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigobdz%2Fhide-file-extension-mac/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263350913,"owners_count":23453359,"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":["apple-script","cli-utilities","file-extensions","generator-lnm","hidden","macos","npm-module","npm-package","yarn"],"created_at":"2024-11-16T12:05:00.609Z","updated_at":"2026-05-07T02:33:30.701Z","avatar_url":"https://github.com/rodrigobdz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📄 Hide File Extension 🍎 ![Build status](https://travis-ci.org/rodrigobdz/hide-file-extension-mac.svg?branch=master)\n\n\u003e Toggle file extension visibility from CLI for macOS\n\n## Requirements\n\n- Xcode Command-Line Tools\n- Node\n\n## Install\n\n```sh\n$ npm install hide-file-extension-mac\n```\n\n## Usage\n\n```js\nconst hideFileExtensionMac = require(\"hide-file-extension-mac\");\n\n// foo.txt\nhideFileExtensionMac(\"foo.txt\");\n//=\u003e 'foo'\n\n// foo\nhideFileExtensionMac(\"foo.txt\", { show: true });\n//=\u003e 'foo.txt'\n```\n\n## API\n\n### hideFileExtensionMac(input, [options])\n\n#### input\n\nType: `string`\n\nPath to file.\n\n#### options\n\nType: `Object`\n\n##### show\n\nType: `boolean`\u003cbr\u003e\nDefault: `false`\n\nFlag to show or hide file extension.\n\n## CLI\n\n```sh\n$ npm install --global hide-file-extension-mac\n```\n\n```sh\n$ hide-file-extension-mac --help\n\n  Usage\n    hide-file-extension-mac [input]\n\n  Options\n    --show, -s  Show extensions [Default: false]\n\n  Examples\n    $ hide-file-extension-mac --show foo.txt\n    # foo.txt\n    $ hide-file-extension-mac foo.txt\n    # foo\n```\n\n## Credits\n\n* [generator-lnm](https://github.com/rodrigobdz/generator-lnm) - Awesome node module generator\n\n## License\n\n[MIT](license) © [Rodrigo Bermudez Schettino](https://rodrigobdz.github.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigobdz%2Fhide-file-extension-mac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodrigobdz%2Fhide-file-extension-mac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigobdz%2Fhide-file-extension-mac/lists"}