@samet-it/be-export-common
v1.0.7
Published
Export common component
Readme
Samet IT : Export Common
ts backend component
__
___ _ ______ ____ _____/ /_ _________ ____ ___ ____ ___ ____ ____
/ _ \| |/_/ __ \/ __ \/ ___/ __/ / ___/ __ \/ __ `__ \/ __ `__ \/ __ \/ __ \
/ ___> </ /_/ / /_/ / / / /_ / /__/ /_/ / / / / / / / / / / / /_/ / / / /
\___/_/|_/ .___/\____/_/ \__/ \___/\____/_/ /_/ /_/_/ /_/ /_/\____/_/ /_/
/_/ EN: It should be used by exporting sheets (Excel) and pdf filesTR: Excel, pdf çıktı alma işlemlerinde kullanılır
Prerequisite
- Help
- 1 - Install Git
- 2 - Build Up a Git Connection
- 3 - Install Node/NPM
- 4 - Create Project Folder
- 5 - Bind Projects Folder to Git
Usage
EN: How to add into your project?TR: Projene nasıl eklersin?
npm i @samet-it/be-export-commonEnvironments
| Name | Type | Default | Required | Secret | Description |
|---------------------|--------|----------------------------|----------|--------|----------------------------------------|
| EXPORT_SHEET_MIME | string | application/vnd.ms-excel | | | Mime type for sheets while downloading |
Contents
- exportCommonConfig : config
- sheetStyles : sheet (excel) styles
- sheetBuilder : sheet (excel) builder
- sheetI18n : sheet (excel) i18n values
Development
You can start to develop on it
Step 1
Step 2
EN: Clone the projectTR: Projeyi bilgisiyarına çek
git clone https://github.com/samet-digital/be-export-common.git -b developmentDependencies
@samet-it/be-base-common: samet base common@samet-it/be-api-common: samet api common@leyyo/*: leyyo utilitiesxlsx-style: Excel style converter
Commands
Standards
+ language: TS
+ lint: eslint
+ inspections: intelli-j code inspections
+ ddd: domain driven development
+ edd: exception driven development
! tdd: test driven development
+ ldd: log driven development
+ ddd: document driven developmentHistory
| Date | Developer | Info | Ticket | |------------|----------------|--------------|----------------| | 2025-11-19 | Mustafa Yelmer | Created | ~~none~~ | | 2026-01-11 | Mustafa Yelmer | Refactored | ~~none~~ |
