Metadata-Version: 2.4
Name: npm-pack
Version: 0.1.0
Summary: A bundle of JavaScript, TypeScript, JSX, and CSS learning modules.
Keywords: javascript,typescript,jsx,learning,source-bundle
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: JavaScript
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Education
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# npm-pack

`npm-pack` is a Python-installable source bundle of the JavaScript, TypeScript,
JSX, and CSS exercises in this project. The bundled files are source assets;
this package does not translate them into Python modules.

## Install

```console
python -m pip install npm-pack
```

The project name on PyPI is `npm-pack`; in Python code, its import name is
`npm_pack`.

## Locate the source files

```python
from npm_pack import module_directory

print(module_directory())
```

The bundled modules are in the `modules` directory. Run JavaScript with Node.js,
and use appropriate TypeScript/React tooling for `.ts` and `.jsx` files.
Some examples need dependencies and services such as Express, Mongoose, or a
local MongoDB server.

## Included files

`p1.js`, `p2.js`, `p3a.js`, `p3b.js`, `p4.js`, `p4a.js`, `p4b.js`, `p4c.js`,
`p5a.ts`, `p5b.ts`, `p6.ts`, `p7a.jsx`, `p7b.jsx`, and `p7c.css`.

## Build locally

```console
python -m pip install build
python -m build
```

The PyPI project name must be available when you publish. The current source
files are included in the distribution, but creating a PyPI account and
publishing are separate steps.

Choose a license before publishing. No license is declared for this source bundle yet.
