Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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!