open-index/open-npm huggingface dataset:
npm package: @letsandeepio/lotide
Description: a mini lodash like library
Author: Sandeep Kumar Chopra
Latest version: 1.0.1

# Lotide

A mini clone of the [Lodash](https://lodash.com) library.

## Purpose

**_BEWARE:_ This library was published for learning purposes. It is _not_ intended for use in production-grade software.**

This project was created and published by me as part of my learnings at Lighthouse Labs.

## Usage

**Install it:**

`npm install @letsandeepio/lotide`

**Require it:**

`const _ = require('@letsandeepio/lotide');`

**Call it:**

`const results = _.tail([1, 2, 3]) // => [2, 3]`

## Documentation

The following functions are currently implemented:

- countLetters: Counts the number ofs character occurances in a string.
- countOnly: Counts the number of times a string occurs in an array.
- eqArrays: Compares two arrays and returns a boolean if the arrays are the same/different.
- eqObjects: Compares two objects and returns a boolean if the object are the same/different.
- findKey: Takes an object and a callback. Scans the object and returns the first key for which the callback returns a truthy value.
- findKeyByValue: Takes in an object and a value. It scans the object and returns the first key with the given value.
- flatten: Takes an array within an array and creates a new array merging the two.
- head: Returns the first element of an array.
- letterPositions: Returns the index in which a letter occurs in a string within an array.
- map: Returns the first letter of each element in an array of strings.
- middle: Returns the middle value (of odd) or values (if even) in an array longer than two elements.
- tail: Removes the first element in an array and returns the remaining elements in a new array.
- takeUntil: Takes an array and a callback function. Returns a new array of items occuring until the point specified by the callback functions.
- without: Takes an array and items to remove. Returns a new array without the removed items.
npm package: @letsandeepio/year-progress
Description: a simple command line utility to find out the how far the year has progressed
Author: Sandep Kumar Chopra
Latest version: 1.0.2

# year-progress

[![NPM version](https://img.shields.io/npm/v/@letsandeepio/year-progress.svg?style=flat)](https://npmjs.com/package/@letsandeepio/year-progress)
[![NPM downloads](https://img.shields.io/npm/dm/@letsandeepio/year-progress.svg?style=flat)](https://npmjs.com/package/@letsandeepio/year-progress)

## Description

A simple commandline app for displaying current year progress - inspired by Google Engineer [@filiphracek](https://twitter.com/filiphracek)

## Install

```bash
npm install -g @letsandeepio/year-progress
```

## Usage

For times when you are offline and unable to access [@year-progress](https://twitter.com/year_progress) type 'year-progress' at command line.

```bash
year-progress
```

![screenshot](https://raw.githubusercontent.com/letsandeepio/year-progress/master/documentation/screeenshot.png)

## Contribution

Please feel free to clone & open the PR for review.

## Author

**year-progress** © [Sandeep](https://github.com/letsandeepio), Released under the [MIT](./LICENSE) License.<br>
Authored and maintained by Sandeep and Contributors ([list](https://github.com/letsandeepio/year-progress/contributors)).

> GitHub [@letsandeepio](https://github.com/letsandeepio) · Twitter [@letsandeepio](https://twitter.com/letsandeepio)
npm package: @letsbelopez/cognito-core
Description: This library was generated with [Nx](https://nx.dev).
Latest version: 0.7.3

# cognito-core

This library was generated with [Nx](https://nx.dev).

## Building

Run `nx build cognito-core` to build the library.

## Running unit tests

Run `nx test cognito-core` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @letscomunica/loopback-connector-dynamodb
Description: DynamoDB connector for LoopBack
Author: Mandar Zope
Latest version: 0.1.11

---
title: "DynamoDB connector"
lang: en
toc: false
keywords:
source: loopback-connector-dynamodb
tags: [community]
sidebar: community_sidebar
permalink: /doc/en/community/dynamo-connector.html
---

## Link

[https://github.com/mandarzope/loopback-connector-dynamodb](https://github.com/mandarzope/loopback-connector-dynamodb)

## Overview

DynamoDB Connector for loopback (compitable with datasource-juggler) 

## Features

In progress

Provide a list of the features here.

## Benefits of the project

In progress

Describe how your project benefits the LoopBack developer.

## Demo or sample code

In progress (Please give me some time to write examples)

Give a short demo of how the project works.
Summarize your demo here and provide more sample code (or link to API docs, etc.) if necessary.
npm package: @letscooee/react-native
Description: Cooee's React Native Plugin for hyper-personalised Mobile App Re-Engagement via Machine Learning
Author: Ashish Gaikwad
Latest version: 1.4.0

# cooee-react-native

Cooee's React Native Plugin for hyper-personalised Mobile App Re-Engagement via Machine Learning

## Installation

```sh
npm install cooee-react-native
```

## Environment Setup
### Android
Add following updates to you `Manifest.xml`

```xml
<!-- add following line to application tag -->
<application 
tools:replace="android:name"
...
/>

<!-- APP_ID and APP_SECRET should be replaced with you credentials -->
<meta-data
    android:name="COOEE_APP_ID"
    android:value="<APP_ID>" />

<meta-data
    android:name="COOEE_APP_SECRET"
    android:value="<APP_SECRET>" />
```
Open your `MainApplication` class present at `android/app/src/main/java/<yourpackage_name>/` and extend it with `Controller` class

```java
import com.letscooee.CooeePlugin;
...

public class MainApplication extends CooeePlugin implements ReactApplication {
...
}
```

### iOS
Add the following lines to your `info.plist` (Note: APP_ID, APP_SECRET will be replace by credentials)
```xml
<key>NSBluetoothPeripheralUsageDescription</key>
<string>App uses Bluetooth to find out nearby devices</string> 

<key>NSLocationWhenInUseUsageDescription</key>
<string>App uses location to search retailer location</string>

<key>CooeeAppID</key>
<string><APP_ID></string>
<key>CooeeSecretKey</key>
<string><APP_SECRET></string>
```

Also setup your Apps `deployment-target` to `13.0`

## Usage

And then in you `js` or `tsx` import `CooeeReactNative` Module and start accessing methods.
```js
import CooeeReactNative from "cooee-react-native";

// ...
// get User ID
const result = await CooeeReactNative.getUUID();

// Update Screen Name
CooeeReactNative.updateScreenName("HomeActivity");

//Update User Data
CooeeReactNative.updateUserData({ "name": "USER_NAME", "email": "USER_EMAIL", "mobile": "USER_MOBILE_NO" });

//Submit events
CooeeReactNative.sendEvent("EVENT_NAME", {"foo":"bar"});
```

We also send data back to app when user perform any action with trigger. Tah data is in `Map<String, Object>` format.

To listen Teigger action add the flowing code block in your code:
```js
import { NativeEventEmitter, NativeModules } from 'react-native';

const eventEmitter = new NativeEventEmitter(NativeModules.ToastExample);
var eventListener = eventEmitter.addListener('onInAppButtonClick', (event) => {

    console.log(event) // "event will contain data in Map<String,Object> format"
});
```
## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT
npm package: @letscooee/url-builder
Description: Utility class to provide some utility for dealing with URLs
Author: Shashank Agrawal
Latest version: 0.0.5

# URL Builder

[![npm version](https://badge.fury.io/js/%40letscooee%2Furl-builder.svg)](https://badge.fury.io/js/%40letscooee%2Furl-builder)
![](https://github.com/letscooee/url-builder/workflows/Build%20And%20Test%20Cases/badge.svg)

A simple wrapper for TypeScript to build & parse a URL.

## Installation

```shell script
npm i @letscooee/url-builder
```

## Usage

```typescript
import {URLBuilder} from '@letscooee/url-builder';

const urlBuilder = new URLBuilder('https://example.com/try?foo=bar&age=20');
urlBuilder.setQueryParam('foo', 'bar-new');
urlBuilder.appendQueryParam('name', 'Jon');

console.log(urlBuilder.toString() === 'https://example.com/try?foo=bar-new&age=20&name=Jon');
console.log(urlBuilder.getQueryParam('foo') === 'bar-new');

urlBuilder.setPath('/save');
urlBuilder.setQueryString('name=Jon&country=India');

console.log(urlBuilder.toString() === 'https://example.com/save?name=Jon&country=India');

urlBuilder.clearQueryParams();
console.log(urlBuilder.toString() === 'https://example.com/save');
```

## Release

```shell script
npm publish --access public
```