open-index/open-npm huggingface dataset:
npm package: @kkday/web-js-lib
Description: kkday front end javascript libraries
Author: kkday-it
Latest version: 1.1.0

# @kkday/web-js-lib

[![npm (scoped)](https://img.shields.io/npm/v/@kkday/web-js-lib.svg)](https://www.npmjs.com/package/@kkday/web-js-lib)

## Install

```sh
$ npm install @kkday/web-js-lib
```

## Usage

### SkuCalculator
Calculate valid sku, amount, price and detail status of each spec according to selected specs.
```javascript
// load SkuCalculator into project
import { SkuCalculator } from '@kkday/web-js-lib';

// specs
const specs = {
	depart: [
		'Taipei',
		'Kaohsiung',
	],
	arrive: [
		'Taipei',
		'Kaohsiung',
	],
	age: [
		'adult',
		'child',
	],
};

// skus composed with spec combination, amount and price
const skus = [
	{
		spec: {
			age: 'adult',
			depart: 'Taipei',
			arrive: 'Kaohsiung'
		},
		amount: 5,
		price: 1000,
	},
	{
		spec: {
			age: 'child',
			depart: 'Taipei',
			arrive: 'Kaohsiung'
		},
		amount: 3,
		price: 500,
	},
	{
		spec: {
			age: 'adult',
			depart: 'Kaohsiung',
			arrive: 'Taipei'
		},
		amount: 4,
		price: 800,
	},
	{
		spec: {
			age: 'child',
			depart: 'Kaohsiung',
			arrive: 'Taipei'
		},
		amount: 2,
		price: 400,
	},
];

// define which spec(s) make sku(s) primary
const primarySpecs = {
	age: 'adult'
};

// skus data contain amount or not
const hasAmount = true;

// define which spec(s) can be selected with multiple values
const multiSpecs = ['age'];

// create SkuCalculator instance
const skuCalculator = new SkuCalculator({
	specs,
	skus,
	primarySpecs,
	hasAmount,
	multiSpecs
});

// set selected specs
const selectionArray = [
	{
		amount: 2,
		spec: {
			age: 'adult',
			depart: 'Taipei',
			arrive: 'Kaohsiung',
		},
	},
	{
		amount: 3,
		spec: {
			age: 'child',
			depart: 'Taipei',
			arrive: 'Kaohsiung',
		},
	}
];
skuCalculator.setSelectionArray(selectionArray);

// print calculation result
console.log(skuCalculator.specStatus);
console.log(skuCalculator.statistics);
console.log(skuCalculator.selectionSpecStatus);
```
npm package: @kkeeth/card
Description: A personal card for Kiyohito Keeth Kuwahara (@kkeeth)
Author: Kiyohito Keeth Kuwahara
Latest version: 1.7.2

It's me, Keeth Kuwahara!

# Usage

## npm
```
npx @kkeeth/card
```

## GitHub Package Registry
Assuming you have the GitHub registry set up, you can use via npx:
```
npx @kkeeth/card
```

Not including how to use it globally because I'm not sure why you'd want this as a global command. That'd be creepy.

## License

[MIT License](https://github.com/kkeeth/card/blob/master/LICENSE)

## Others

This repo is based on [https://github.com/bnb/bitandbang](https://github.com/bnb/bitandbang)
npm package: @kkemple/react-primitives
Description: Primitive React Interfaces Across Targets
Author: Leland Richardson
Latest version: 0.5.1

# react-primitives

Primitive React Interfaces Across Targets

## Installation

```sh
npm i --save react-primitives
```

### Usage

```jsx
import React from 'react';
import { View, Text, Image, StyleSheet } from 'react-primitives';

class Foo extends React.Component {
  render() {
    return (
      <View style={styles.foo}>
        {this.props.children}
      </View>
    );
  }
}

const styles = StyleSheet.create({
  foo: {
    width: 100,
    height: 100,
    backgroundColor: '#ff00ff',
  },
});
```


## What is this?

This library attempts to propose an ideal set of primitives around building
React applications, regardless of Platform. In the future, this could be
used as a shared interface among React and React Native components that
don't use platform-specific APIs.

Importantly, this includes `StyleSheet` for declaring styles, as well as
`Animated` for doing declarative Animations.

The exported interface thus far is:

1. `Animated`: Pulled from the [animated](https://github.com/animatedjs/animated) project.
2. `StyleSheet`: Follows React Native's StyleSheet API.
3. `View`: A base component for Layout.
4. `Text`: A base component for Text rendering.
5. `Image`: A base component for Image rendering.
6. `Touchable`: A base component for interaction.

In the future, a `TextInput` component may also be added.


## Props where props are due

This library was largely inspired from the work done by [Nicolas Gallager](https://github.com/necolas) 
and his great work on the [react-native-web](https://github.com/necolas/react-native-web) library. A few of the files
in this repo are even copied directly from his project.
npm package: @kkfeed/nestjs-package-starter
Description: NestJS npm package starter
Author: Kamil Klasicki
Latest version: 1.0.20

<h1 align="center"></h1>

<div align="center">
  <a href="http://nestjs.com/" target="_blank">
    <img src="https://nestjs.com/img/logo_text.svg" width="150" alt="Nest Logo" />
  </a>
</div>

<h3 align="center">NestJS npm Package Starter</h3>

<div align="center">
  <a href="https://nestjs.com" target="_blank">
    <img src="https://img.shields.io/badge/built%20with-NestJs-red.svg" alt="Built with NestJS">
  </a>
</div>

### Installation

1. Clone the repo
2. Run npm/yarn install

```bash
cd nestjs-package-starter
npm install
```

## Change Log

See [Changelog](CHANGELOG.md) for more information.

## Contributing

Contributions welcome! See [Contributing](CONTRIBUTING.md).

## Author

**John Biundo (Y Prospect on [Discord](https://discord.gg/G7Qnnhy))**

## License

Licensed under the MIT License - see the [LICENSE](LICENSE) file for details.