Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

darch

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

darch

Common utils web framework for ReactJS. http://darch.nosebit.com

  • 0.0.5
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Darch npm

This repo implements common components and utilitaries for React. The name sounds like "dark" and comes from recursive acronym DARCH Advanced React Components for Humans. Checkout the full documentation at http://darch.nosebit.com.

Usage

Install Darch via npm running:

npm install --save darch

Then you can require each individual modules by:

import Form from "darch/lib/form";

// For old school guys, you can do:
// let Form = require("darch/lib/form");

This individual module import is better to keep your code at bare minimum, but if you want to use all Darch then you can just:

import {Form,Field,Container} from "darch";

// For old school guys, you have to do:
// let {Form,Field,Container} = require("darch");

// And for ES5 prehistoric guys:
// var Darch = require("darch");
// var Form = Darch.Form;

NOTE: If you use individual module imports, then somewher in your code you must import the styles module via import "darch/lib/styles". Without this module, the general Darch styles will not be applied to html.

Contributing

Help us to made Darch a great framework! See the the contributing guidelines for more information.

FAQs

Package last updated on 17 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc