faliam-users-table

This package will serve as the interface to our users table

Usage no npm install needed!

<script type="module">
  import faliamUsersTable from 'https://cdn.skypack.dev/faliam-users-table';
</script>

README

faliam-users-table

This package is used to interface with the users table

example

export default class Service {
    public async GetUserMetadata(userID: string): Promise<UserMetadata|undefined> {
        let userTable: UserTable = new UserTable(process.env.ENV);
        try {
            return await this.userTable.GetMetadata(userID)
        } catch (e) {
            this.logger.error(e);
            throw e;
        }
    }
}

Updating

git commit -a -m "<commit message>"
npm version [major | minor | patch ]
npm publish