{"size": 844, "ext": "js", "max_stars_repo_path": "src/index.js", "max_stars_repo_name": "Qihoo360/spriteJS", "max_stars_repo_stars_event_min_datetime": "2018-06-21T11:07:02.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-23T13:10:35.000Z", "max_issues_repo_path": "src/index.js", "max_issues_repo_name": "yuchenbo/spritejs", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/index.js", "max_forks_repo_name": "yuchenbo/spritejs", "max_forks_repo_forks_event_min_datetime": "2018-12-11T06:22:15.000Z", "max_forks_repo_forks_event_max_datetime": "2021-01-10T05:40:33.000Z"}
{"max_stars_count": 17, "max_issues_count": null, "max_forks_count": 4, "avg_line_length": 13.8360655738, "max_line_length": 71, "alphanum_fraction": 0.6765402844}
import {
  BaseNode,
  BaseSprite,
  Label,
  Group,
  Effects,
  Path,
  registerNodeType,
  createNode,
  Color,

  utils,
  math,
} from 'sprite-core'

const {setDeprecation} = utils

import Sprite from './sprite'
import Layer from './layer'
import Scene from './scene'
import Resource from './resource'
import {shim, _debugger} from './platform'

if(shim) {
  shim()
}

registerNodeType('layer', Layer, true)
registerNodeType('sprite', Sprite)

function Paper2D(...args) {
  setDeprecation('spritejs.Paper2D', 'Instead use new spritejs.Scene.')
  return new Scene(...args)
}

const version = require('../package.json').version

export {
  _debugger,
  version,
  math,
  utils,

  BaseNode,
  BaseSprite,
  Sprite,
  Label,
  Path,
  Group,
  Layer,
  Scene,
  Paper2D,

  registerNodeType,
  createNode,
  Color,

  Resource,
  Effects,
}
