mirror of
https://github.com/expo/react-native-util.git
synced 2026-11-22 07:59:27 -10:00
master
react-native-util

This is a fork of io.js's "util" module that works with React Native. It is currently tracking io.js 2.3.1.
Usage
Install the package in your React Native project:
npm install react-native-util --save
Then require it from your JavaScript:
let util = require('react-native-util');
// or if you have enabled ES6 module syntax
import util from 'react-native-util';
Differences from io.js's "util"
- Deprecated methods have been removed
deprecatehas been removed since it relies on an internal io.js moduleinheritshas been removed since React Native supports classes- Promise introspection has been removed. Promises are printed out as regular JS objects.
isBufferhas been removed since there is noBufferclass- Unused private helper methods have been removed
Description
A fork of io.js's util module that works with React Native
42 KiB
0 Stars
1 Watchers
0 Forks
Languages
JavaScript
100%