Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelhatherly/codestripping.jl
Hide your Julia source code.
https://github.com/michaelhatherly/codestripping.jl
Last synced: about 1 month ago
JSON representation
Hide your Julia source code.
- Host: GitHub
- URL: https://github.com/michaelhatherly/codestripping.jl
- Owner: MichaelHatherly
- License: mit
- Created: 2022-10-03T18:46:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T07:28:24.000Z (9 months ago)
- Last Synced: 2024-04-08T08:38:43.187Z (9 months ago)
- Language: Julia
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CodeStripping.jl
*Hide your Julia source code.*
## Installation
```
julia> import Pkg; Pkg.add(url = "https://github.com/MichaelHatherly/CodeStripping.jl")
```## Usage
```
import CodeStripping
import LoadedPackage
CodeStripping.strip_code(LoadedPackage)
CodeStripping.strip_code(:PackageInCurrentEnvironment)
CodeStripping.strip_code("../this/julia/environment/")
CodeStripping.strip_code([Several, :Loaded, "file.jl"])
CodeStripping.strip_code([:Packages, :From, :Another, :Project], "project/env")
```> ***Warning:***
>
> `strip_code` is not a recoverable function. If you run it on code that you do not
> have a backup of then that code will be lost. Use with caution!