Separate exact and RegExp lookups.
Create a hash table to handle exact matches.
Create prepublish.js script to load agent database from alscan.info.
Create (minimal) unit tests.
Create script to estimate best hash-table size (test/tune-hash.js).
Create script to create a status update for user agents databases (test/check-status.js).
Ignore files generated by prepublish.js
Use live alscan.info for database source.
Include a known pattern test.