Popularity
6.6
Declining
Activity
0.0
Stable
31
1
6
Programming language: Crystal
License: MIT License
Tags:
Misc
Latest version: v1.1.0
crystal-diff alternatives and similar shards
Based on the "Misc" category.
Alternatively, view crystal-diff alternatives based on common mentions on social networks and blogs.
-
burocracia.cr
burocracia.cr the dependecyless shard to validate, generate and format Brazilian burocracias such as CPF, CNPJ and CEP -
crystal-web-framework-stars
Web frameworks for Crystal, most starred on Github -
message_verifier.cr
Verify and generate Rails ActiveSupport::MessageVerifier signed tokens
Get performance insights in less than 4 minutes.
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Promoted
scoutapm.com
Do you think we are missing an alternative of crystal-diff or a related project?
README
crystal-diff
Crystal sequence differencing implementation.
Based on the algorithm proposed in "An O(NP) Sequence Comparision Algorithm" (Wu, 1989)
Installation
Add this to your application's shard.yml
:
dependencies:
diff:
github: MakeNowJust/crystal-diff
Usage
require "colorize"
require "../src/diff"
Diff.diff("hello world", "hello good-bye").each do |chunk|
print chunk.data.colorize(
chunk.append? ? :green : chunk.delete? ? :red : :dark_gray)
end
puts
[result](example/diff-char.png)
Development
$ crystal spec
Contributing
- Fork it ( https://github.com/MakeNowJust/crystal-diff/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- MakeNowJust TSUYUSATO Kitsune - creator, maintainer