refac(lib): jsdoc
fix(npm): remove deprecated dependencies