ibrand

1.0.2 • Public • Published

ibrand

an app brand interface that doesn't complain. all properties are optional.

Usage

.

// app.brand.ts
 
import { IBrand } from './ibrand';
 
// there's lots of ways to use this information
export const Brand : IBrand = {
  app: {
    name: 'Boosh! - the app that blows up',
    shortName: 'Boosh!',
    version: '0.0',
    logoUrl: 'assets/img/app/logo.png',
  },
  team: {
    name: 'Team Kapow',
    email: 'hey@kapow.io',
    url: 'https://wwwdotkapowdotcom',
    logoUrl: 'assets/img/team/kapowLogo.png'
  }
};

The Code

export interface IBrand {
    'app': {
        'name'?: string;        // 
        'shortName'?: string;   // 
        'version'?: string;     // 
        'logoUrl'?: string;     // 
    };
    'team': {
        'name'?: string;        // 
        'email'?: string;       // 
        'url'?: string;         // 
        'logoUrl'?: string;     // 
    };
}

Readme

Keywords

Package Sidebar

Install

npm i ibrand

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • gforceg