- App.tsx: full navigation (Auth stack + Main tabs with 5 screens) - Auth: LoginScreen, RegisterScreen, ForgotPasswordScreen - HomeScreen: dashboard with IoT metrics, weather widget, alerts, quick actions, sensors - MapScreen: interactive map with layer toggles (6 layers) - MarketplaceScreen: categories (6), products (5), search - ChatScreen: AI chat with quick prompts (4), bot responses - ProfileScreen: user info, stats, menu (9 items), logout - AlertsScreen: alert list with severity, acknowledge - SensorsScreen: sensor list with type filters (6 types), search - ZonesScreen: zone cards with stats - SettingsScreen: language picker (FR/EN/ES/DE), privacy, about - Stores: iotStore (sensors, zones, alerts), notificationStore, uiStore + i18n - Hooks: useSensors, useAlerts, useNotifications, useLocation - Components: Card, Button, LoadingSpinner, ErrorBoundary, Header - Services: iotService, notificationService (with axios API client) - Utils: formatters (temp, AQI, noise, dates), validators (email, password, IBAN) - Theme: colors.ts with full design system (Blue Ocean palette) - Ditto: fixed MongoDB connection, new JWT secrets, official gateway image
40 lines
1.1 KiB
Markdown
40 lines
1.1 KiB
Markdown
# lodash v4.18.1
|
|
|
|
The [Lodash](https://lodash.com/) library exported as [Node.js](https://nodejs.org/) modules.
|
|
|
|
## Installation
|
|
|
|
Using npm:
|
|
```shell
|
|
$ npm i -g npm
|
|
$ npm i --save lodash
|
|
```
|
|
|
|
In Node.js:
|
|
```js
|
|
// Load the full build.
|
|
var _ = require('lodash');
|
|
// Load the core build.
|
|
var _ = require('lodash/core');
|
|
// Load the FP build for immutable auto-curried iteratee-first data-last methods.
|
|
var fp = require('lodash/fp');
|
|
|
|
// Load method categories.
|
|
var array = require('lodash/array');
|
|
var object = require('lodash/fp/object');
|
|
|
|
// Cherry-pick methods for smaller browserify/rollup/webpack bundles.
|
|
var at = require('lodash/at');
|
|
var curryN = require('lodash/fp/curryN');
|
|
```
|
|
|
|
See the [package source](https://github.com/lodash/lodash/tree/4.18.1-npm) for more details.
|
|
|
|
**Note:**<br>
|
|
Install [n_](https://www.npmjs.com/package/n_) for Lodash use in the Node.js < 6 REPL.
|
|
|
|
## Support
|
|
|
|
Tested in Chrome 74-75, Firefox 66-67, IE 11, Edge 18, Safari 11-12, & Node.js 8-12.<br>
|
|
Automated [browser](https://saucelabs.com/u/lodash) & [CI](https://travis-ci.org/lodash/lodash/) test runs are available.
|