asset-db
A data base store uuid to path and vice versa information
Last updated 5 years ago by firebox .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install asset-db 
SYNC missed versions from official npm registry.

asset-db

An asset database for operating game assets just in native file system. It will store uuid to path and vice versa information, and allow user register meta module to convert native files into game engine usable data (json, binary, what ever), and store converted data in asset-library.

Features

  • store uuid-to-path and path-to-uuid table
  • provide simple table and distributed meta solution
    • simple table: store the uuid-to-path and path-to-uuid in one single table, so the assets folder no need to create meta file, also no meta support.
    • distributed meta: store uuid and configuration data in meta file, the meta file will create along with files.
    • seprated meta: store uuid and configuration data in meta file, the meta file will create in seprated folder.
  • import assets from native file system to asset-library.
  • export assets from memory to native file system.
  • allow register your serialize, deserialize method.
  • allow register meta file. asset-db will use meta rules import and export assets.
  • allow mount to multiple assets/ folder, and register protocol for each of them.
  • support sub-assets, folder-assets.
  • version detected for each meta type, and auto-migration if user provide migration. downgrate allowed.
  • globby batch process.
  • native watch support.
  • cli support.
  • async and streamming process.

Integrate with editor-framework

The scripts in core/ and page/ are used for integrating AssetDB with editor-framework.

Current Tags

  • 0.2.0                                ...           latest (5 years ago)

1 Versions

  • 0.2.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (12)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |