# twist-configuration **Repository Path**: mirrors_adobe/twist-configuration ## Basic Information - **Project Name**: twist-configuration - **Description**: Loader for Twist configuration (.twistrc) files - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-03-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Twist Configuration [![Build Status](https://travis-ci.org/adobe/twist-configuration.svg?branch=master)](https://travis-ci.org/adobe/twist-configuration) Configuration of [Twist](http://github.com/adobe/twist) repos - this reads the configuration from `.twistrc`. This is used for configuring Babel. ## Usage > Note: Most users will not use `@twist/configuration` directly, but will instead include a plugin for the build system and framework that they're targeting - for example `@twist/react-webpack-plugin`. This internally uses Twist configuration. Usage with Babel: ```js let TwistConfiguration = require('@twist/configuration'); var config = new TwistConfiguration('node', options); babel.transform(code, config.babelOptions); ``` By default, `TwistConfiguration` will read the options in the `.twistrc` file in the current working directory (or `.twistrc.js` if it's a JavaScript file). You can specify a different location via the `root` option. Any options you pass in override the `.twistrc` options. ## Options TODO ## About Twist [Twist](http://github.com/adobe/twist) is a state-management library for JavaScript applications. It's influenced by [Redux](http://redux.js.org/) and [MobX](https://github.com/mobxjs/mobx), which are two of the popular state-management libraries for React.