open-index/open-npm huggingface dataset:
npm package: @talixo/pill
Description: UI component for Pill
Author: Public in Motion GmbH
Latest version: 0.1.0

# Talixo Pill

It's just simple wrapper for Pill.

## How to install

Package is available as `@talixo/pill` in NPM registry, so you can use it in your project
using `npm install @talixo/pill --save` or `yarn add @talixo/pill`.

## Requirements

Your package should additionally have some extra dependencies:

- `prop-types: ^15.6.1`
- `react: ^16.2.0`
- `react-dom: ^16.2.0`
- `@talixo/shared: ^0.1.0`

These packages are required by `@talixo/pill`, but you have to install them manually,
to avoid having different versions of these in your application.

## Supported props

It allows any property which can be passed to `span`. Additionally, it handles some differently:

Property name | Type      | Default | Description                    
--------------|-----------|:-------:|--------------------------------
className     | string    | n/a     | additional class name passed to wrapper
color         | string    | n/a     | pill color
variant       | string    | n/a     | pill variant (ghost)

## Changelog

- **0.1.0** - initial version
npm package: @talizen/talizen
Description: Talizen frontend SDK types for cms, form and core.
Latest version: 0.0.4

# talizen

Talizen 前端 SDK 类型仓库，统一提供：

- `talizen/core`
- `talizen/cms`
- `talizen/form`

这个仓库的目标是把 Talizen 平台前端会直接使用的类型和最小运行时请求封装整理成一个可以独立发布到 GitHub 和 npm 的包。

## 安装

```bash
npm install talizen
```

## 使用

```ts
import { setTalizenConfig } from "talizen/core"
import { ListContent, type BaseCmsItem } from "talizen/cms"

interface Blogs extends BaseCmsItem {
  readonly __cmsKey: "blogs"
  body: {
    title?: string
    content?: string
  }
}

setTalizenConfig({
  baseUrl: "https://www.talizen.com",
  projectId: "demo-project",
})

const blogs = await ListContent<Blogs>("blogs", {
  limit: 10,
})
```

表单提交：

```ts
import { SubmitForm } from "talizen/form"

await SubmitForm(
  {
    token: "form-token",
    data: {
      email: "hi@talizen.com",
    },
  },
  {
    projectId: "demo-project",
  },
)
```

## 类型设计

- `talizen/core`：通用基础类型，来自后端 `internal/model`。
- `talizen/cms`：CMS schema、content、筛选参数、获取内容 API。
- `talizen/form`：Form schema、提交参数、日志类型、提交 API。

其中业务项目自己的 `types/cms.d.ts`、`types/form.d.ts` 依然建议由平台按项目 schema 动态生成；本仓库负责承载平台级公共类型和泛型 API。

## 发布

```bash
npm install
npm run build
npm publish
```

GitHub Actions 工作流在 `.github/workflows/publish.yml`，按 tag 发布 npm 包：

```bash
git tag v0.1.0
git push origin v0.1.0
```
npm package: @talk2rajeev/simple-calculator
Description: add, substrct, divide and multiply
Author: Rajeev Sharma
Latest version: 3.0.51

# simple-calculator

[![GitHub issues](https://img.shields.io/github/issues/talk2rajeev/simple-calculator.svg)](https://github.com/talk2rajeev/simple-calculator/issues)

## install
```
npm i @talk2rajeev/simple-calculator
```

## How to Use

### addition
```javascript
import module from '@talk2rajeev/simple-calculator'
```

#### addition
addition takes multiple argument, all argument will be added together.
```javascript
const { add, substract, multiply, divide } = module;

add(1,2) //Output: 3
add(1,2,3,4) //Output: 10
```

#### substract
substract takes multiple argument, all argument (except 1st) will be substrated from 1st one
```javascript
substract(4,2) //output: 2

substract(10,2,1) //output: 7
Explanation: 10 -2 -1 = 7
```

#### Multiplication
multiply takes multiple argument, all argument will be multiplied together.
```javascript
multiply(3,2) //output: 6

multiply(10,2,5) //output: 100
Explanation: 10 * 2 * 5 = 100
```


#### Division
division takes only 2 arguments
```javascript
divide(8,2) //output: 4
divide(10,2) //output: 100
```

#### Power
```javascript
power(2)(3) //output: 8
power(3)(4) //output: 81
```


#### Square Root

```javascript
squareRoot(2); //Output: 1.4142135623730951
squareRoot(4); //Output: 2
squareRoot(9); //Output: 3
```

#### Cube Root

```javascript
cubeRoot(3); //Output: 1.4422495703074083
cubeRoot(8); //Output: 2
cubeRoot(27); //Output: 3
```