open-index/open-npm huggingface dataset:
npm package: @precision-nutrition/avatar-image
Description: The default blueprint for ember-cli addons.
Latest version: 4.2.0

# avatar-image

[Short description of the addon.]

## Compatibility

- Ember.js v3.16 or above
- Ember CLI v2.13 or above
- Node.js v10 or above

## Installation

```
ember install my-addon
```

## Usage

[Longer description of how to use the addon in apps.]

## Contributing

See the [Contributing](CONTRIBUTING.md) guide for details.

## License

This project is licensed under the [MIT License](LICENSE.md).
npm package: @precision-nutrition/browser-store
Description: The default blueprint for ember-cli addons.
Latest version: 6.0.4

# @precision-nutrition/browser-store

This is an ember-cli add-on we use to wrap a few of our common browser storage needs. You shouldn't use this, or even read the code.

## Compatibility

- Ember.js v3.20 or above
- Ember CLI v3.20 or above
- Node.js v12 or above

## Installation

```
ember install @precision-nutrition/browser-store
```

## Contributing

See the [Contributing](CONTRIBUTING.md) guide for details.

## License

This project is licensed under the [MIT License](LICENSE.md).
npm package: @precision-nutrition/date-picker
Description: The default blueprint for ember-cli addons.
Latest version: 7.0.0

# date-picker

First there was [shared-ember-components](https://github.com/PrecisionNutrition/shared-ember-components), Graham spoketh "This is crazy. Every time I touch a component's style, we have to update everything." And so `{{date-picker` was extracted, and so shall all of the other components.

## Installation

You should reopen the `DatePicker` service and override `isNativePickerDisplayed`. This controls whether or not we display a native `<input`, or the fancy picker.

## But Why This?

Whilst we wait for more desktop browsers to actually support date `<input`s with
a built in picker, we have to resort to building one for ourselves. This component
falls back to native datepickers for mobile browsers.
npm package: @precision-nutrition/ember-date-fns-helpers
Description: date-fns helpers
Author: Precision Nutrition Team
Latest version: 1.0.2

# ember-date-fns-helpers

[Short description of the addon.]

## Compatibility

- Ember.js v3.20 or above
- Ember CLI v3.20 or above
- Node.js v12 or above

## Installation

```
ember install @precision-nutrition/ember-date-fns-helpers
```

## Usage

[Longer description of how to use the addon in apps.]

## Compatibility

- Ember.js v3.12 or above
- Ember CLI v2.13 or above
- Node.js v10 or above

## Contributing

See the [Contributing](CONTRIBUTING.md) guide for details.

## License

This project is licensed under the [MIT License](LICENSE.md).
npm package: @precision-nutrition/ember-default-helper
Description: Returns the second argument if the first one is undefined.
Author: Precision Nutrition Team
Latest version: 0.1.1

# {{default}} helper

Returns the second argument if the first one is `undefined`.

## Installation

```
ember install @precision-nutrition/ember-default-helper
```

## Usage

```handlebars
<div class="PnMenu" ...attributes>
  {{yield
    (component
      "pn-menu/item"
      truncate=(default @truncate true)
      onClick=(default @onItemClick (noop))
    )
  }}
</div>
```

## Compatibility

- Ember.js v3.12 or above
- Ember CLI v2.13 or above
- Node.js v10 or above

## Contributing

See the [Contributing](CONTRIBUTING.md) guide for details.

## License

This project is licensed under the [MIT License](LICENSE.md).
npm package: @precision-nutrition/error-notifications
Description: The default blueprint for ember-cli addons.
Latest version: 1.0.1

# error-notifications

This README outlines the details of collaborating on this Ember addon.

## Installation

* `git clone <repository-url>` this repository
* `cd error-notifications`
* `npm install`

## Running

* `ember serve`
* Visit your app at [http://localhost:4200](http://localhost:4200).

## Running Tests

* `npm test` (Runs `ember try:each` to test your addon against multiple Ember versions)
* `ember test`
* `ember test --server`

## Building

* `ember build`

For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).
npm package: @precision-nutrition/imgix-photo
Description: Common component for photos displayed via Imgix
Author: The fine and funky folks at Precision Nutrition
Latest version: 3.2.0

# imgix-photo [![CircleCI](https://circleci.com/gh/PrecisionNutrition/imgix-photo.svg?style=svg)](https://circleci.com/gh/PrecisionNutrition/imgix-photo)

Provides a low-level component for rendering images that use the Imgix service.

## Compatibility

- Ember.js v3.16 or above
- Ember CLI v2.13 or above
- Node.js v10 or above

## Installation

```
ember install @precision-nutrition/imgix-photo
```

## Usage

```html
<ImgixUrl
  @alt="Some helpful alt-text"
  @url="http://sub.imgix.com/path-to-image.jpg"
  @params="{{hash"
  w="300"
  }}
  class="Some Classes Here"
/>
```

Where `@params` uses the `{{hash` helper to specify any supported option for
Imgix.

### Other Properties

- `autoSetDimensions`: set to `false` if you don't want the rendered `<img` to
  have its `width` and `height` properties set. This is useful if you want a
  "responsive" image.

### Class Names

- Loading images will have an `.is-loading` class
- Completed images will have an `.is-complete` class

## Contributing

See the [Contributing](CONTRIBUTING.md) guide for details.

## License

This project is licensed under the [MIT License](LICENSE.md).
npm package: @precision-nutrition/number-formatting
Description: A small collection of utilities that help with formatting numbers nicely
Latest version: 5.0.0

# number-formatting [![Build Status](https://travis-ci.org/PrecisionNutrition/number-formatting.svg?branch=master)](https://travis-ci.org/PrecisionNutrition/number-formatting)

==============================================================================

`{{pretty-percentage decimalValue=0.751 precision=1}}` yields "75.1%"

`{{pretty-percentage decimalValue=0.751 precision=0}}` yields "75%"

`{{format-currency value=123}}` yields "$1.23 (USD)"

## Compatibility

- Ember.js v3.16 or above
- Ember CLI v2.13 or above
- Node.js v10 or above

## Installation

```
ember install @precision-nutrition/number-formatting
```

## Usage

[Longer description of how to use the addon in apps.]

## Contributing

See the [Contributing](CONTRIBUTING.md) guide for details.

## License

This project is licensed under the [MIT License](LICENSE.md).
npm package: @precision-nutrition/unit-utils
Description: A small collection of utilities that help with units of measure
Latest version: 8.0.2

# @precision-nutrition/unit-utils

You probably don't want to use this. It's our little add-on to handle unit conversions.

## Compatibility

- Ember.js v3.20 or above
- Ember CLI v3.20 or above
- Node.js v12 or above

## Installation

```
ember install @precision-nutrition/unit-utils
```

## Contributing

See the [Contributing](CONTRIBUTING.md) guide for details.

## License

This project is licensed under the [MIT License](LICENSE.md).
npm package: @preco21/next-fonts
Description: Import font files in your Next.js project
Author: Plusb Preco
Latest version: 1.0.1

# Next.js + Fonts

> Import font files in your Next.js project.

The fonts will be added to `.next/static/fonts`. Also a chunk hash is added to file names in production.

## Install

```bash
$ npm install --dev @preco21/next-fonts
```

## Usage

In `next.config.js`:

```js
const withFonts = require('@preco21/next-fonts')
module.exports = withFonts()
```

Optionally extend the config as you like:

```js
const withFonts = require('@preco21/next-fonts')
module.exports = withFonts({
  webpack(config, options) {
    return config
  }
})
```

## Options

This plugin accepts a number of options that you can customize the build:

```js
module.exports = withFonts({
  extensions: ['woff', 'woff2'],
  urlLoaderOptions: {
    limit: 10000
  }
})
```

### `extensions`

Type: `string[]`<br />
Default: `['woff', 'woff2', 'eot', 'ttf', 'otf']`

Specify a extension set on which files to identify as a fonts.

### `include`

Type: `RegExp`

Same as the original webpack's [Rule.include](https://webpack.js.org/configuration/module/#ruleinclude).

### `exclude`

Type: `RegExp`

Same as the original webpack's [Rule.exclude](https://webpack.js.org/configuration/module/#ruleexclude).

### `urlLoaderOptions`

Type: `object`

Same as the original [`url-loader`'s option](https://github.com/webpack-contrib/url-loader).

### `assetPrefix`

Type: `string`<br />
Default: `''`

Same as the original [`assetPrefix` option](https://github.com/zeit/next.js/#cdn-support-with-asset-prefix), consumed in the plugin to resolve the domain the Next.js is hosted on.

## License

[MIT](https://preco.mit-license.org/)
npm package: @preco21/tsconfig
Description: Shared TypeScript config for @preco21
Author: Preco Plusb
Latest version: 7.1.0

# tsconfig

> Shared [TypeScript config](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) for @preco21

## Install

```bash
npm install --save-dev @preco21/tsconfig
```

*This config requires TypeScript 5.5 or later.*

## Usage

`tsconfig.json`:

```json
{
  "extends": "@preco21/tsconfig",
  "include": ["src/**/*"],
  "exclude": ["node_modules"]
}
```

For *Node.js* setup without bundler:

```json
{
  "extends": "@preco21/tsconfig/node",
  "compilerOptions": {
    "declaration": false,
    "incremental": true
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules"]
}
```

## Motivation

Heavily inspired by [`sindresorhus/tsconfig`](https://github.com/sindresorhus/tsconfig).
npm package: @preconstruct/cli
Description: Dev and build your code painlessly in monorepos
Latest version: 2.8.12

# Preconstruct 🎁

> Dev and build your code painlessly in monorepos

## Key Features

- In dev mode, your code behaves the same as it will in production, including locally linked in monorepos
- Add multiple entrypoints to your packages for publishing
- CLI helps walk you through set-up and making changes to your configs
- Works with different kinds of JS monorepos
- Also works for single package repos!
- Builds your code with rollup

## Getting Started

Assuming you already have a source file at src/index.js (or src/index.ts) or you're using Yarn Workspaces and have packages with src/index.js (or src/index.ts), you can setup Preconstruct like this.

```bash
yarn add --dev @preconstruct/cli
yarn preconstruct init
```

If you're in a monorepo, you should also run `yarn preconstruct dev` and add it to a postinstall script(`"postinstall": "preconstruct dev"`) that runs preconstruct dev so that you can import your code without having to rebuild your project every time in changes.

## Publishing packages

Before you publish packages to npm, run `preconstruct build`. reconstruct will use your Babel config and build flat bundles so make sure to [configure Babel](/guides/configuring-babel) with the transforms you want.

> We strongly recomment making a single script in your package.json that runs both build and publish, to stop broken publishes, such as `"release": "preconstruct build && yarn publish:packages`. If you're in a single-package repo, you could also run `preconstruct build` in a `prepare` or `prepublishOnly` script.

## Further Guides

There are a number of tasks that become easier with preconstruct that lie slightly outside the main workflow. Check out the following guides for setting these up.

- [A more detailed account of getting set up](https://preconstruct.tools/tutorials)
- [Setting up a second entrypoint](https://preconstruct.tools/guides/adding-a-second-entrypoint)
- [CLI command documentation](https://preconstruct.tools/commands)
- [Other configuration](https://preconstruct.tools/configuration)

# See the docs at [preconstruct.tools](https://preconstruct.tools)

# Thanks/Inspiration

- [microbundle](https://github.com/developit/microbundle) was a huge inspiration for this! ❤️
- [rollup](https://rollupjs.org) - rollup has done the really hard stuff that makes preconstruct possible!
- [bolt](https://github.com/boltpkg/bolt) - lots of utils and things in this project were inspired by things in bolt
- [Kye Hohenberger](https://github.com/tkh44) for thinking of the name preconstruct
- Too many awesome people to name at [Thinkmill](https://thinkmill.com.au) who have given so much great feedback to make Preconstruct better and Thinkmill for sponsoring the development of Preconstruct 💝
- all the people who wrote all the dependencies for this project!
npm package: @preconstruct/craco
Description: A plugin for craco to work with preconstruct repos
Latest version: 0.1.1
Deprecated: We recommend using Next or Gatsby instead of craco in Preconstruct repos

# @preconstruct/craco

A [craco](https://github.com/sharegate/craco) plugin for [Preconstruct](https://preconstruct.tools)

## Install

```bash
yarn add @preconstruct/craco
```

## Usage

> Note: this assumes craco is already setup, if you haven't done that already, please do that

Add the plugin to your `craco.config.js` file.

```js
const preconstructPlugin = require("@preconstruct/craco");

module.exports = {
  plugins: {
    plugin: preconstructPlugin
  }
};
```

See an example of this in use at https://github.com/preconstruct/create-react-app-multi-package-repo.

## Thanks

- This module is largely based off https://github.com/jackwilsdon/craco-use-babelrc
npm package: @preconstruct/next
Description: A Next.js plugin to work with preconstruct repos
Latest version: 4.0.0

# @preconstruct/next

A [Next.js](https://nextjs.org/) plugin to make Next sites work with [`preconstruct dev`](https://preconstruct.tools/guides/using-preconstruct-dev-in-a-monorepo).

## Install

```bash
yarn add @preconstruct/next
```

## Usage

Add the plugin to your `next.config.js` file.

```js
const withPreconstruct = require("@preconstruct/next");

module.exports = withPreconstruct({ ...yourOwnConfig });
```

Note that in Next.js 12, Next will not read a Babel config from outside of the directory that the Next.js site is in. If you need it to to read your babel config, you will need to do something like this:

```js
// site/babel.config.js
module.exports = require("../babel.config");
```
npm package: @precor/web-api-bridge
Description: Provides api marshalling for React Native WebvViews and web page iframes.
Author: Rob Seaman
Latest version: 2.1.5

# WebApiBridge

`WebApiBridge` provides a function call API interface between Javascript processes that pass `MessageEvent` objects such as a a web page and an iframe or a React Native application and
a web app running in a [react-native-webview](https://github.com/react-native-community/react-native-webview).

## Features

- Provides support for API calls between JavaScript processes. Each process can support API calls in an array of JavaScript objects (inluding React components)
- Marshalls plain JavaScript parameters and return values via `JSON.stringify()` to work with [react-native-community/react-native-webview](https://github.com/react-native-community/react-native-webview), including support of [ReactNativeWebView.postMessage](https://github.com/react-native-community/react-native-webview/blob/cdbfc19cd20a0d96c9cbd13fcb8a32fcde77943b/docs/Guide.md#the-windowreactnativewebviewpostmessage-method-and-onmessage-prop)
- Works for communication between a web page and iframe child window
- Provides promise support for asynchronous API calls that need to return results
- Marshalls exceptions thown in API calls to the caller
- Validates the existance of API call and message delivery so reliability errors are reported
- Supports origin and targetOrigin settings
- A `listener()` function hook is provided for debugging that will be passed all messages sent/received

## Installation

If you're using `npm`:

```console
npm install --save @precor/web-api-bridge
```

or, if you're using `yarn`:

```console
yarn add @precor/web-api-bridge
```

## Type Checking

a Typescript definition file is included. The Proptype declaration for `Message` is included in `types/shapes.js`, i.e. to use it:

```javascript
import { Message } from '@precor/web-api-bridge/types/shapes';
```

## Documentation

[WebApiBridge Class](https://precor.github.io/web-api-bridge/docs/WEBAPIBRIDGE.html)

## Examples

[react-iframe](https://precor.github.io/web-api-bridge/examples/react-iframe/DEMO.html) is a simple react implementation of an API between a parent and an iframe.

[react-multi](https://precor.github.io/web-api-bridge/examples/react-multi/DEMO.html) is a react implementation of an API between a parent and multiple iframes.

[webapp-library](https://precor.github.io/web-api-bridge/examples/webapp-library/DEMO.html) extends the [react-multi](https://precor.github.io/web-api-bridge/examples/react-multi/DEMO.html) example by creating a functional library abstraction over the bridge for the web app iframes. It also demonstrates mulitiple apis per window and dynamic additions of apis after the iframe based web apps are loaded.

## Gotchas

- If you need to send a message from an app that loads a webview or an iframe, e.g. from a React Native app or a window parent, before receiving from that app then wait for the load to complete, e.g. `onLoad` callback to send that initial message.
npm package: @predator_757/bitflation-idr-dca
Description: IDR DCA simulator: React component and logic for time deposit, IHSG, gold, and Bitcoin with bundled JSON data
Latest version: 1.0.0

# @predator_757/bitflation-idr-dca

IDR DCA (dollar-cost averaging) simulator: React component and logic for comparing regular savings into a time deposit, IHSG (Indonesian stock index), gold, and Bitcoin. Includes bundled historical JSON data.

## Install

```bash
npm install @predator_757/bitflation-idr-dca
```

Peer dependencies: `react`, `react-dom`, `recharts`. Your app must provide them.

## Usage

### Drop-in component

```tsx
import { IdrDcaCalculator } from '@predator_757/bitflation-idr-dca';

function App() {
  return <IdrDcaCalculator />;
}
```

The component loads its own data (BTC, IHSG, gold, deposito rates, CPI) from the package. Ensure your bundler can resolve JSON and CSS modules from `node_modules` (Vite, Webpack, Parcel do by default).

### Theming

The UI uses CSS variables. Your app should define at least:

- `--border`, `--text-primary`, `--text-secondary`, `--text-muted`
- `--bg-card`, `--bg-control`
- `--accent-indigo`, `--accent-green`, `--accent-red`
- `--radius`, `--font-mono`

A dark theme that sets these will work out of the box.

### Use simulation only

```ts
import {
  runDcaBtc,
  runDcaIhsg,
  runDcaGold,
  runDcaDeposito,
  type DcaInputs,
  type DcaResult,
  type DcaFrequency,
  type DailyPoint,
} from '@predator_757/bitflation-idr-dca';

// Load your own data or use the bundled data (see package dist/data/)
const inputs: DcaInputs = {
  amountPerPeriodIdr: 100_000,
  frequency: 'monthly',
  yearsAgo: 5,
  btcDaily: [...],
  ihsgDaily: [...],
  goldDaily: [...],
  depositoRates: [...],
};

const btcResult = runDcaBtc(inputs);
const ihsgResult = runDcaIhsg(inputs);
// ...
```

## Data

The package ships with historical JSON in `dist/data/`:

- `btc-daily.json` — daily BTC prices (IDR)
- `ihsg-daily.json` — IHSG (^JKSE) daily
- `gold-idr-daily.json` — gold IDR per gram (daily)
- `deposito-rates.json` — BI time-deposit rate ranges
- `cpi-monthly.json` — Indonesian CPI for inflation note

To refresh data, use the scripts from the [bitflation](https://github.com/your-org/bitflation) repo and copy the generated files into your app or a fork of this package.

## License

MIT
npm package: @predhin/build-man
Description: Your build partner
Author: Predhin Tom Sapru
Latest version: 1.1.0

# build-man

## Why ?
I was working on an enterprise application which had deployments every week, it became very difficult to track the changes that got deployed. Well then I created an inhouse small nodejs package which had the ability to help me overcome this tedious activities of incorporating a version assossiation with a build, compress the build files to a single artifact and get that ready to be deployed to a artifactory like jfrog with just a single npm command. With this package I intend to provide a solution for those who require to associate a build version to their application so that it can be noticed inside the console log, also compress the build files to a zip file so as to upload to a artifactory.

## Installation

```
npm install build-man
```

## How is version generated

There are two ways to provide the app version to the package. The first part of the app version will be taken from your package json file reading the ```version``` provided in it. There is option to provide build no. which could have generated else where and also generate a unique build number. The build no. will suffixed to the app version provided in the package.json file.

## Usage

This package should be used as a post build script after the build is generated. Currently there are two utilities that this package offers:

1. Associate version to a build, it even creates a .version file which contains the version and also adds a console.log of the version.
2. Zip the build files to create a single artifact file

```
buildman --dist='%distribution folder%' --main='%main file - landing script%' --archiveFilepath='%path to which artifact needs to be created inclusing the <filename>.zip%'
```

Lets look at each arguments:

```--dist :``` Provide your distribution folder in which the build will be generated. This property is required!

```--main :``` Provide your main landing script file upon which the build version needs to be transposed. If the main file is generated with a dynamic name suffix, you can specify a pattern(like main*.js for main.sdsdaasdsad.js or mainasdadasd.js). This property is required!

```--archiveFilepath :``` Provide the path to which the artifact needs to be created ending with the <filename>.zip . This property is optional if you want to zip the build files to a single artifact

```--build_no :``` Provide the build no which needs to be associated to the build. This property is optional

## References

An example of the usage is as below:

![Screenshot](./assets/npm_script.png)

The command ```buildman``` should be available to be used after the installation.
```
buildman --dist='./dist/build-man-usage' --main='main.js' --archiveFilepath='./dist/artifact.zip'
```
![Screenshot Of command](./assets/cmd_run.png)

![Screensht of file details](./assets/file_details.png)

![Screenshot of archive](./assets/archive.png)

![Screenshot of application](./assets/app_run.png)

## License

### MIT
npm package: @predicate/predicate-sdk
Description: SDK for interacting with Predicate API
Author: Heimdall Labs
Latest version: 0.1.4

# Predicate-sdk

Typescript SDK for dApp development using Predicate.

## Features
- Easy integration with Predicate network
- Supports policy evaluation
- TypeScript support

## Installation

This SDK can be used in an API intended for your fullstack application. Your Predicate API key is required to use the main `PredicateClient` class. Refer to docs.predicate.io for documentation, or run tsdoc.
npm package: @predict/predict-com
Description: O predict-com é utilizado nas rotinas comerciais da Predict.info.
Author: Johnathan Cruz
Latest version: 1.11.3

# predict-com

O predict-com é utilizado nas rotinas comerciais da Predict.info.

## Para atualizar este projeto (criar/alterar novos endpoints)
1. Execute o comando pra iniciar:
```git
npm run branch --hist=<ISSUE_NUMBER>
```
2. Execute suas modificações
3. Suba alterações para servidor (somente código):
```git
npm run commit -- '<COMMIT_MESSAGE>'
```
4. Faça o deploy no EB (precedido por um commit do código):
```git
npm run deploy -- '<COMMIT_MESSAGE>'
```
4. Solicite o merge de sua branche com a master, no GitLab (merge request)
5. Após aprovação, sua modificação está disponível na master (e pode ser usada nos seus projetos).
> Somente a branch master pode ser utilizada nos projetos
6. Atualize o predict-db no seu projeto:
```npm
npm update predict-db
```
7. Inclua o npm update predict-db no script de branch dos seu projeto

### Não é necessário .gitlab-ci.yml neste projeto (tudo roda com npm)
npm package: @predictabar/react-widget
Description: Beautiful, customizable React component for real-time progress tracking
Author: PredictaBar
Latest version: 1.2.9

# Welcome to your Lovable project

## Project info

**URL**: https://lovable.dev/projects/19ada7b3-7a2b-456c-8e1d-9f8f50412515

## How can I edit this code?

There are several ways of editing your application.

**Use Lovable**

Simply visit the [Lovable Project](https://lovable.dev/projects/19ada7b3-7a2b-456c-8e1d-9f8f50412515) and start prompting.

Changes made via Lovable will be committed automatically to this repo.

**Use your preferred IDE**

If you want to work locally using your own IDE, you can clone this repo and push changes. Pushed changes will also be reflected in Lovable.

The only requirement is having Node.js & npm installed - [install with nvm](https://github.com/nvm-sh/nvm#installing-and-updating)

Follow these steps:

```sh
# Step 1: Clone the repository using the project's Git URL.
git clone <YOUR_GIT_URL>

# Step 2: Navigate to the project directory.
cd <YOUR_PROJECT_NAME>

# Step 3: Install the necessary dependencies.
npm i

# Step 4: Start the development server with auto-reloading and an instant preview.
npm run dev
```

**Edit a file directly in GitHub**

- Navigate to the desired file(s).
- Click the "Edit" button (pencil icon) at the top right of the file view.
- Make your changes and commit the changes.

**Use GitHub Codespaces**

- Navigate to the main page of your repository.
- Click on the "Code" button (green button) near the top right.
- Select the "Codespaces" tab.
- Click on "New codespace" to launch a new Codespace environment.
- Edit files directly within the Codespace and commit and push your changes once you're done.

## What technologies are used for this project?

This project is built with:

- Vite
- TypeScript
- React
- shadcn-ui
- Tailwind CSS

## How can I deploy this project?

Simply open [Lovable](https://lovable.dev/projects/19ada7b3-7a2b-456c-8e1d-9f8f50412515) and click on Share -> Publish.

## Can I connect a custom domain to my Lovable project?

Yes, you can!

To connect a domain, navigate to Project > Settings > Domains and click Connect Domain.

Read more here: [Setting up a custom domain](https://docs.lovable.dev/features/custom-domain#custom-domain)
npm package: @predictionvc/prediction-api
Description: Prediction Enterprise API sdk in Javascript
Author: PredictionVC
Latest version: 1.3.0

# Prediction API

We are proud to introduce our 1.0.0 version of Prediction Enterprise API.  It is our first step to sharing our data with the world and being more transparent about our predictions, their accuracy and our fund trades and performance.  In the case you are missing some data please drop us a line at enterprise@prediction.vc. We will be happy to answer your questions and implement new features for you.  [Platform FAQ](https://predictionvc.freshdesk.com/support/solutions/)

Check out the docs at https://enterprise.prediction.vc/docs

- API version: 1.0.0
- Package version: 1.0.0

## Installation

```shell
npm i @predictionvc/prediction-api
```

## Getting Started

### Authorization

- **Type**: API key
- **API key parameter name**: Authorization
- **Location**: HTTP header

### Code sample

```javascript
const PredictionApi = require('prediction_enterprise_api')

const defaultClient = PredictionApi.ApiClient.instance

// Configure API key authorization: Authorization
const Authorization = defaultClient.authentications['Authorization']
Authorization.apiKey = "YOUR API KEY"

const api = new PredictionApi.FundApi()

const opts = {
  'entry': '2018-09-01', // {Date} entry date for trades
  'exit': '2018-09-01', // {Date} exit date for trades
  'direction': 'short' // {String} short/long
}
api.fundTradesGet(opts)
  .then(data => {
    console.log('API called successfully. Returned data: ')
    console.log(data)
  })
  .catch(error => {
    console.error(error)
  })


```

## Documentation for API Endpoints

All URIs are relative to *https://enterprise.prediction.vc/api/*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*PredictionApi.FundApi* | [**fundTradesGet**](docs/FundApi.md#fundTradesGet) | **GET** /funds/trades | Prediction Fund trade data
*PredictionApi.FundApi* | [**fundsTradesPairsGet**](docs/FundApi.md#fundTradesTokensGet) | **GET** /funds/trades/tokens | Traded tokens
*PredictionApi.HistoricalApi* | [**historicalGet**](docs/HistoricalApi.md#historicalGet) | **GET** /historical | Historical Data
*PredictionApi.OHLCApi* | [**ohlcGet**](docs/OHLCApi.md#ohlcGet) | **GET** /ohlc | OHLC Data
*PredictionApi.PredictionsApi* | [**predictionsAccuracyGet**](docs/PredictionsApi.md#predictionsAccuracyGet) | **GET** /predictions/accuracy | Accuracy
*PredictionApi.PredictionsApi* | [**predictionsGet**](docs/PredictionsApi.md#predictionsGet) | **GET** /predictions | Predictions
*PredictionApi.PredictionsApi* | [**predictionsTokensGet**](docs/PredictionsApi.md#predictionsTokensGet) | **GET** /predictions/tokens | Tokens
npm package: @predictive-text-studio/lexical-model-compiler
Description: Keyman Developer lexical model compiler
Author: Marc Durdin
Latest version: 14.0.0-alpha.0

Keyman Developer
================

Eddie's fork:

Install
-------

    yarn add @predictive-text-studio/lexical-model-compiler

or

    npm install @predictive-text-studio/lexical-model-compiler --save

Usage
-----

Check `source/index.ts` for more details!

```typescript
import {compileModelFromLexicalModelSource} from "@predictive-text-studio/lexical-model-compiler";

let javaScriptCode: string = compileModelFromLexicalModelSource({
  format: "trie-1.0",
  source: [{
    name: "<memory>",
    *lines() {
      yield [1, "hello,100"];
    }
  }]
});

console.log(javaScriptCode);
```

How to build from source
------------------------

Run `build.sh`:

    ./build.sh


How to run the tests
--------------------

    ./build.sh -test
npm package: @predictive-text-studio/models-types
Description: Type definitions in used in the modeling (lexical model/predictive text) component of Keyman.
Author: Marc Durdin
Latest version: 14.0.0-alpha.0

`@keymanapp/models-types`
=========================

Declares TypeScript types and interfaces required to define **Lexical
Models**, **Word breaking functions**, and all things in between.

Install
-------

> (see below if you are working in the keymanapp/keyman repo!)

    npm install --save-dev @keymanapp/models-types

Usage
-----

Say you are creating a **custom lexical model**. Then import this module
in your lexical model file!

```Typescript
// my-nifty-model.ts

import "@keymanapp/models-types";

export class MyNiftyClass implements LexicalModel {
  configure(capabilities: Capabilities): Configuration {
    // TODO: implement me!
    throw new Error("Method not implemented.");
  }
  predict(transform: Transform, context: Context): ProbabilityMass<Suggestion>[] {
    // TODO: implement me!
    throw new Error("Method not implemented.");
  }
  wordbreak(context: Context): string {
    // TODO: implement me!
    throw new Error("Method not implemented.");
  }
  punctuation?: LexicalModelPunctuation;
}
```

If your are creating a **custom word breaker**, you would do the same:

```typescript
import "@keymanapp/models-types";

export let myShinyWordBreaker: WordBreakingFunction;
myShinyWordBreaker = function (phrase: string): Span[] {
  // TODO: implement me!
  throw new Error("Function not implemented")
}
```

Look at [index.d.ts](./index.d.ts) for documentation on each and every
type!


Usage within keymanapp/keyman repo
----------------------------------

To use it in other subprojects within keymanapp/keyman, ensure that this
package is linked using **Lerna**. From the root of the repository, run:

    npx lerna bootstrap

Add this dependency to your subproject like so:

    npx lerna add @keymanapp/models-types path/to/your/subproject
npm package: @predictive-text-studio/models-wordbreakers
Description: Word breakers bundled in the modeling layer
Latest version: 14.0.0-alpha.0

# `@keymanapp/models-wordbreakers`

The word breakers bundled in Keyman's modeling layer (common/models).

Includes:

 - `default` — a word breaker based on the Unicode default word boundary specification
 - _deprecated_ `ascii` — an example word breaker
 - _deprecated_ `placeholder` — an example word breaker

## Usage

```
import {wordBreakers} from '@keymanapp/models-wordbreakers';
const breakWords = wordBreakers['default'];

console.log(breakWords('Hello, World!').map(span => span.text));
// prints: [ 'Hello', ',', 'World', '!' ]
```
npm package: @predictivehire/utils
Description: The common utils developed by PredictiveHire
Author: admin@predictivehire.com
Latest version: 1.0.9

# common-utils
**Public** common utils services for [PredictiveHire](https://www.predictivehire.com/)

## Install
```sh
npm i @predictivehire/utils
# or
yarn add @predictivehire/utils
```

### SecretsManager
-  fetching secrets from **AWS Secret Manager** with **caching** mechanism.
```javascript
import { SecretsManager } from "@predictivehire/utils"
const secretsManager = new SecretsManager("ap-southeast-2") // pass the aws region
const username = await secretsManager.getSecretValue("secretKey", "secretManagerName")
const password = await secretsManager.getSecretValue("secretKey", "secretManagerName")
```
npm package: @predictleads/n8n-nodes-predictleads
Description: PredictLeads community node for n8n (companies, signals, enrichment).
Author: PredictLeads
Latest version: 1.0.1

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

# n8n-nodes-predict-leads

This is an n8n community node. It lets you use PredictLeads data in your n8n workflows.

[PredictLeads](https://predictleads.com/) company intelligence data powers a wide range of business applications, from AI-powered automation to market research and investment analysis.

## Installation

Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.

## Operations

This node supports the following operations:
- retrieve company's data
- retrieve companies' data based on their size and location
- retrieve company's job openings
- retrieve a single job opening
- retrieve a list of job openings based on O*NET codes and location
- retrieve technologies used by a specific company
- retrieve companies using a specific technology
- retrieve all tracked technologies
- retrieve a single technology
- retrieve company's news events
- retrieve a single news event
- retrieve company's financing events
- retrieve company's connections
- retrieve portfolio companies
- retrieve company's website evolution

## Credentials

You must have a PredictLeads API key and token to use this node. You can register for a free account to get your API key and token here:

https://predictleads.com/sign_in

Once registered, you can find your API key and token here:

https://predictleads.com/dashboard

Then you'll need to create credentials in n8n for PredictLeads.

![Add Credentials](images/add-credentials.png)

## Compatibility

- Minimum n8n version: 1.84.0
- Verified working with: 1.119.1
- Known issues: None

## Usage

Add PredictLeads node to a workflow.

![Add PredictLeads to Workflow](images/workflow.png)

Configure a basic query and hit "Test step" to get the data.

![Test a company search through PredictLeads](images/test-company-search.png)

## API Resources / Search Engines

This node currently only supports the most popular PredictLeads endpoints. If there's an endpoints missing that you would like to use, please let us know at support@predictleads.com

In the meantime, you can also use the [generic HTTP Request node](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/) to get the data from other endpoints.

## Related Resources

PredictLeads's complete API documentation is available here:

https://docs.predictleads.com/

## License

[MIT](https://github.com/serpapi/n8n-nodes-serpapi/blob/master/LICENSE.md)
npm package: @predicto-crypto/contracts
Description: [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Latest version: 1.0.0-beta.0

# Predicto

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

[https://predictocrypto.io](https://predictocrypto.io)

‘Predicto’ means ‘to mention beforehand’ in ancient Latin. As implied with its name, Predicto is a trading signal platform that offers a wide variety of predictive models that help assess price targets of crypto currencies and yields on De-Fi products using AI deep learning.

## Deployed Contracts

* PancakeFactory: [0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73](https://bscscan.com/address/0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73)
* PancakeRouter: [0x10ED43C718714eb63d5aA57B78B54704E256024E](https://bscscan.com/address/0x10ED43C718714eb63d5aA57B78B54704E256024E)
* PredictoToken(PREDICT): [0x70164B5aa1ED23559264FB08f0845D0bEd4b0d34](https://bscscan.com/token/0x70164b5aa1ed23559264fb08f0845d0bed4b0d34)
* PredictoStaking(xPREDICT): [0xfD0e7853479bA835454bA8B31F7A1861d1714B47](https://bscscan.com/address/0xfD0e7853479bA835454bA8B31F7A1861d1714B47#code)
* MasterChef: [0x21FE2F6655600512850A88BD94415Ecf0E764Ab4](https://bscscan.com/address/0x21FE2F6655600512850A88BD94415Ecf0E764Ab4)
* Timelock: [0x22A80A6Fba3915cb9ce0D0EaDF198047D0b1a475](https://bscscan.com/address/0x22A80A6Fba3915cb9ce0D0EaDF198047D0b1a475)

## License

Distributed under the MIT License. See [`LICENSE`](https://github.com/TheGreatHB/NFTEX/blob/main/LICENSE.txt) for more information.
npm package: @predictocrypto/contracts
Description: [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Latest version: 1.0.0-beta.2

# Predicto

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

[https://predictocrypto.io](https://predictocrypto.io)

‘Predicto’ means ‘to mention beforehand’ in ancient Latin. As implied with its name, Predicto is a trading signal platform that offers a wide variety of predictive models that help assess price targets of crypto currencies and yields on De-Fi products using AI deep learning.

## Deployed Contracts

* PancakeFactory: [0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73](https://bscscan.com/address/0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73)
* PancakeRouter: [0x10ED43C718714eb63d5aA57B78B54704E256024E](https://bscscan.com/address/0x10ED43C718714eb63d5aA57B78B54704E256024E)
* PredictoToken(PREDICT): [0x70164B5aa1ED23559264FB08f0845D0bEd4b0d34](https://bscscan.com/token/0x70164b5aa1ed23559264fb08f0845d0bed4b0d34)
* PredictoStaking(xPREDICT): [0xfD0e7853479bA835454bA8B31F7A1861d1714B47](https://bscscan.com/address/0xfD0e7853479bA835454bA8B31F7A1861d1714B47#code)
* MasterChef: [0x21FE2F6655600512850A88BD94415Ecf0E764Ab4](https://bscscan.com/address/0x21FE2F6655600512850A88BD94415Ecf0E764Ab4)
* Timelock: [0x22A80A6Fba3915cb9ce0D0EaDF198047D0b1a475](https://bscscan.com/address/0x22A80A6Fba3915cb9ce0D0EaDF198047D0b1a475)

## License

Distributed under the MIT License. See [`LICENSE`](https://github.com/TheGreatHB/NFTEX/blob/main/LICENSE.txt) for more information.