{"id":13744875,"url":"https://github.com/charlesbihis/actionscript-diff","last_synced_at":"2026-01-20T04:03:12.623Z","repository":{"id":139300334,"uuid":"2464638","full_name":"charlesbihis/actionscript-diff","owner":"charlesbihis","description":"An ActionScript 3 implementation of the Myer's diff algorithm.","archived":false,"fork":false,"pushed_at":"2013-07-24T18:28:10.000Z","size":331,"stargazers_count":32,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-15T16:41:48.241Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://charlesbihis.github.io/actionscript-diff","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/charlesbihis.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":"2011-09-27T01:04:32.000Z","updated_at":"2020-04-22T21:19:18.000Z","dependencies_parsed_at":"2023-03-13T10:49:30.472Z","dependency_job_id":null,"html_url":"https://github.com/charlesbihis/actionscript-diff","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/charlesbihis%2Factionscript-diff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesbihis%2Factionscript-diff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesbihis%2Factionscript-diff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesbihis%2Factionscript-diff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charlesbihis","download_url":"https://codeload.github.com/charlesbihis/actionscript-diff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253191767,"owners_count":21868804,"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":[],"created_at":"2024-08-03T05:01:17.689Z","updated_at":"2026-01-20T04:03:12.581Z","avatar_url":"https://github.com/charlesbihis.png","language":"ActionScript","readme":"# ActionScript Diff Library\n\nAn ActionScript 3 implementation of a diff algorithm.\n\n## Overview\n\nThis library provides an ActionScript 3 implementation of the Myer's diff algorithm.  This is a port from the Java implementation of the algorithm as is provided by the [google-diff-match-patch project](http://code.google.com/p/google-diff-match-patch/) written by Neil Fraser of Google.\n\nThis project was first mentioned in my blog post at http://blogs.adobe.com/charles/2011/12/diff-library-for-actionscript.html.\n\n### Features\n\nThe ActionScript Diff Library supports the following features...\n\n* Simple API to interact with the diff algorithm\n* Returns diff boundaries of letters which have changed, and letters which haven't\n* Pure AS3 implementation (no Flex SDK required)\n* Documentation!\n\n### Dependencies\n\n* [as3corelib](https://github.com/mikechambers/as3corelib)\n\n## Reference\n\n### Usage\n\nTo use the library, simply drop in the SWC (or the source) into your project, along with the appropriate dependencies, and follow the usage below...\n\n\tvar diffs:Array = new Diff().diff(beforeText.text, afterText.text);\n\nThe result that you get back is an Array of the different operations that it took to go from the original string to the modified string. You can easily use this to display the differences in whatever way you want.\n\n### Demo\n\n* Live demo: http://blogs.adobe.com/charles/2011/12/diff-library-for-actionscript.html\n* Demo source: https://github.com/charlesbihis/sandbox/tree/master/actionscript/actionscript-diff-demo\n\n### Documentation\n\nYou can find the full ASDocs for the project [here](http://charlesbihis.github.com/actionscript-diff/docs/).\n\n### Relevant\n\n* \"An O(ND) Difference Algorithm and Its Variations\" by Eugene W. Meyers (http://neil.fraser.name/software/diff_match_patch/myers.pdf)\n* Google project google-diff-match-patch (http://code.google.com/p/google-diff-match-patch/)\n\n## Author\n\n* Created by Charles Bihis\n* Website: [www.whoischarles.com](http://www.whoischarles.com)\n* E-mail: [charles@whoischarles.com](mailto:charles@whoischarles.com)\n* Twitter: [@charlesbihis](http://www.twitter.com/charlesbihis)\n\n## License\n\nThe ActionScript Diff Library is licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).","funding_links":[],"categories":["Unsorted"],"sub_categories":["Other API"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlesbihis%2Factionscript-diff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharlesbihis%2Factionscript-diff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlesbihis%2Factionscript-diff/lists"}