0.3.0 • Published 4 months ago

iscc-core-ts v0.3.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

iscc-core-ts

Tests

TypeScript implementation of iscc-core python reference

Project summary

The “ISCC-CORE typescript implementation library” goal is to implement core functions of the new ISCC standard ISO 24138:2024 in Typescript programming language. This typescript core library will be useful for the javascript ecosystem and developers ( frontend, backend ) to use and work with this new standard in their project.

The ISCC stands for “International Standard Content Code”. More detail at https://iscc.codes/

The ISCC is a similarity preserving fingerprint and identifier for digital media assets.

ISCCs are generated algorithmically from digital content, just like cryptographic hashes. However, instead of using a single cryptographic hash function to identify data only, the ISCC uses various algorithms to create a composite identifier that exhibits similarity-preserving properties (soft hash).

The component-based structure of the ISCC identifies content at multiple levels of abstraction. Each component is self-describing, modular, and can be used separately or with others to aid in various content identification tasks. The algorithmic design supports content deduplication, database synchronization, indexing, integrity verification, timestamping, versioning, data provenance, similarity clustering, anomaly detection, usage tracking, allocation of royalties, fact-checking and general digital asset management use-cases.

Development Status

Note: This library is under active development and not ready for production use.

Track development progress at our project board.

Implementation Status

FunctionStatusReference Coverage
gen_meta_code_v0✓ Done16/16 tests
gen_text_code_v0✓ Done5/5 tests
gen_image_code_v0✓ Done3/3 tests
gen_audio_code_v0✓ Done5/5 tests
gen_video_code_v0✓ Done3/3 tests
gen_mixed_code_v0✓ Done2/2 tests
gen_data_code_v0✓ Done4/4 tests
gen_instance_code_v0✓ Done3/3 tests
gen_iscc_code_v0✓ Done5/5 tests

Prerequiste

We recomand to use nvm to install and target node and npm versions. Here an NVM install guide.

Nvm version used:

nvm --version
0.40.1

Install node 21

nvm install --lts
Installing latest LTS version.
v22.14.0 is already installed.
Now using node v22.14.0 (npm v10.9.2)

Install and build

npm install -g npm@11.1.0
npm ci
npm run build

Tests

npm run fulltest

Expected tests result :

Test Suites: 16 passed, 16 total
Tests:       202 passed, 202 total

Documentation

  • Generate Typedoc documentation in./docs/generated/iscc-core-ts/ with command:
npm run make:docs/reference
  • Reference python implementation is available here
  • Reference standard documentation is available here

Funding

This project is funded through NGI Zero Core, a fund established by NLnet with financial support from the European Commission's Next Generation Internet program. Learn more at the NLnet project page.

0.0.10

7 months ago

0.1.0

7 months ago

0.3.0

4 months ago

0.2.1

6 months ago

0.2.0

6 months ago

0.0.9

7 months ago

0.0.8

7 months ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago