├── .commitlintrc.json ├── .editorconfig ├── .eslintrc ├── .gitattributes ├── .github └── workflows │ └── npm-publish.yml ├── .gitignore ├── .prettierrc.js ├── .releaserc ├── LICENSE-MIT ├── README.md ├── package.json ├── src ├── index.ts └── lib │ └── useragent.ts ├── test ├── android-phone.ts ├── android-tablet.ts ├── bots.ts ├── browsers.ts ├── ios.ts ├── koa.ts └── silk.ts └── tsconfig.json /.commitlintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["@commitlint/config-conventional"] 3 | } 4 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.ts text eol=lf -------------------------------------------------------------------------------- /.github/workflows/npm-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/.github/workflows/npm-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | cover/ 3 | dist/ 4 | .DS_Store 5 | .husky -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.releaserc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/.releaserc -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/package.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/lib/useragent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/src/lib/useragent.ts -------------------------------------------------------------------------------- /test/android-phone.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/test/android-phone.ts -------------------------------------------------------------------------------- /test/android-tablet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/test/android-tablet.ts -------------------------------------------------------------------------------- /test/bots.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/test/bots.ts -------------------------------------------------------------------------------- /test/browsers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/test/browsers.ts -------------------------------------------------------------------------------- /test/ios.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/test/ios.ts -------------------------------------------------------------------------------- /test/koa.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/test/koa.ts -------------------------------------------------------------------------------- /test/silk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/test/silk.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rvboris/koa-useragent/HEAD/tsconfig.json --------------------------------------------------------------------------------