core: add `select` method
Release 1.0.6
Automatically rewritten for npm.