Skip to content
A TypeScript loader for Cosmiconfig
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
docs
src
.codeclimate.yml
.commitlintrc.js
.czrc
.editorconfig
.gitignore
.huskyrc
.lintstagedrc.yml
.mdlrc
.npmignore
.npmrc
.nvmrc
.releaserc
.travis.yml
CHANGELOG.md
CODEOWNERS
CONTRIBUTING.md
LICENSE
README.md
codecov.yml
jest.config.js
package.json
prettier.config.js
tsconfig.json
tsconfig.test.json
tslint.json
yarn.lock

README.md

Banner

MIT Licensed NPM Version Build Status Greenkeeper Status

Code Issues Codebase Maintainability Test Coverage Jest

Commitizen Semantic Release Prettier

A TypeScript loader for Cosmiconfig

Installation

yarn add @endemolshinegroup/cosmiconfig-typescript-loader

Usage

import cosmiconfig from 'cosmiconfig';
import TypeScriptLoader from '@endemolshinegroup/cosmiconfig-typescript-loader';

const explorer = cosmiconfig('myModuleName', {
  loaders: {
    '.ts': {
      async: TypeScriptLoader,
    },
  },
});
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.