All Projects → xojs → create-xo

xojs / create-xo

Licence: MIT license
Add XO to your project

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to create-xo

iran beauty
list of iran cities and province
Stars: ✭ 18 (-56.1%)
Mutual labels:  npm-package
react-native-lightning-modal
A performant bottom modal that works using React Native Reanimated 2
Stars: ✭ 20 (-51.22%)
Mutual labels:  npm-package
html-to-react
A lightweight library that converts raw HTML to a React DOM structure.
Stars: ✭ 696 (+1597.56%)
Mutual labels:  npm-package
frontatish
A React native common components kit and helper methods,find the package at this link https://www.npmjs.com/package/frontatish
Stars: ✭ 14 (-65.85%)
Mutual labels:  npm-package
windows-network-drive
Do network drive stuff on Microsoft Window in node
Stars: ✭ 18 (-56.1%)
Mutual labels:  npm-package
TypeScript-Library-Checklist
Your pre-launch checklist.
Stars: ✭ 19 (-53.66%)
Mutual labels:  npm-package
react-circle-flags
🚀 A React component with a collection of 300+ minimal circular SVG country flags. Wrapper of HatScripts/circle-flags
Stars: ✭ 29 (-29.27%)
Mutual labels:  npm-package
ostrio-analytics
📊 Visitor's analytics tracking code for ostr.io service
Stars: ✭ 14 (-65.85%)
Mutual labels:  npm-package
js-module-system
A small UI library to demonstrate the JS module system
Stars: ✭ 36 (-12.2%)
Mutual labels:  npm-package
electron-remote-dashboard
Remote dashboard with a control app
Stars: ✭ 14 (-65.85%)
Mutual labels:  npm-package
example-typescript-package
Example TypeScript Package ready to be published on npm & Tutorial / Instruction / Workflow for 2021
Stars: ✭ 71 (+73.17%)
Mutual labels:  npm-package
retryx
Promise-based retry workflow library.
Stars: ✭ 21 (-48.78%)
Mutual labels:  npm-package
typescript-npm-package-template
Boilerplate to kickstart creating an npm package using TypeScript
Stars: ✭ 122 (+197.56%)
Mutual labels:  npm-package
ploc
npm package to convert PL/SQL code into Markdown docs
Stars: ✭ 16 (-60.98%)
Mutual labels:  npm-package
1broker-client
Complete node.js client for 1Broker API, open sourced by @telebroker_bot for Telegram!
Stars: ✭ 19 (-53.66%)
Mutual labels:  npm-package
console.history
📜 Store all javascript console logs in console.history
Stars: ✭ 30 (-26.83%)
Mutual labels:  npm-package
sdbm
SDBM non-cryptographic hash function
Stars: ✭ 43 (+4.88%)
Mutual labels:  npm-package
split-on-first
Split a string on the first occurrence of a given separator
Stars: ✭ 68 (+65.85%)
Mutual labels:  npm-package
googlesheetstojson
An npm package to read Google Sheets data and convert it to JSON without publishing it to the web
Stars: ✭ 24 (-41.46%)
Mutual labels:  npm-package
react-native-input-prompt
A cross-platform user input prompt component for React Native with Native UI.
Stars: ✭ 45 (+9.76%)
Mutual labels:  npm-package

create-xo

Add XO to your project

CLI

npm init xo [options]

Example:

npm init xo --space --no-semicolon

API

Usage

import createXo from 'create-xo';

await createXo();

createXo(options?)

Returns a Promise.

options

Type: object

cwd

Type: string
Default: process.cwd()

The current working directory.

args

Type: string[]
Default: CLI arguments (process.argv.slice(2))

The options to put in XO's config in package.json.

For instance, with the arguments ['--space', '--env=node'], the following will be put in package.json:

{
	"name": "awesome-package",
	"xo": {
		"space": true,
		"envs": [
			"node"
		]
	}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].